aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/flakes/config.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/flakes/config.sh')
-rw-r--r--tests/functional/flakes/config.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/functional/flakes/config.sh b/tests/functional/flakes/config.sh
index d1941a6be..f7eae06d8 100644
--- a/tests/functional/flakes/config.sh
+++ b/tests/functional/flakes/config.sh
@@ -28,6 +28,11 @@ nix build < /dev/null
(! [[ -f post-hook-ran ]])
clearStore
+# likewise with no-accept-flake-config
+nix build --no-accept-flake-config
+(! [[ -f post-hook-ran ]])
+clearStore
+
nix build --accept-flake-config
test -f post-hook-ran || fail "The post hook should have ran"