aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2021-11-18 12:56:09 +0100
committerEelco Dolstra <edolstra@gmail.com>2021-11-18 12:56:09 +0100
commit0961c1068a7a064d36bbf27ce9f56202b8b5a972 (patch)
treeb790a8453df2ba3846efcf10fd591d9c69fb77b2 /tests
parent72e67c4b2d60a1e53c9d9df3a723d217bea55e22 (diff)
parent83af9550a166ece787bbea6014d827d3e3af277b (diff)
Merge branch 'accept_conf' of https://github.com/tomberek/nix
Diffstat (limited to 'tests')
-rw-r--r--tests/flake-local-settings.sh8
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/flake-local-settings.sh b/tests/flake-local-settings.sh
index c037431c8..6ee6b17d6 100644
--- a/tests/flake-local-settings.sh
+++ b/tests/flake-local-settings.sh
@@ -25,11 +25,5 @@ cat <<EOF > flake.nix
}
EOF
-# Ugly hack for testing
-mkdir -p .local/share/nix
-cat <<EOF > .local/share/nix/trusted-settings.json
-{"post-build-hook":{"$PWD/echoing-post-hook.sh":true}}
-EOF
-
-nix build
+nix build --accept-flake-config
test -f post-hook-ran || fail "The post hook should have ran"