1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-08 06:53:54 +02:00

Merge branch 'accept_conf' of https://github.com/tomberek/nix

This commit is contained in:
Eelco Dolstra 2021-11-18 12:56:09 +01:00
commit 0961c1068a
3 changed files with 15 additions and 19 deletions

View file

@ -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"