Merge "tests/functional/restricted: Don't use a process substitution" into main

This commit is contained in:
Audrey Dutcher 2024-08-20 22:51:38 +00:00 committed by Gerrit Code Review
commit ac6974777e

View file

@ -4,7 +4,7 @@ clearStore
nix-instantiate --restrict-eval --eval -E '1 + 2'
(! nix-instantiate --eval --restrict-eval ./restricted.nix)
(! nix-instantiate --eval --restrict-eval <(echo '1 + 2'))
TMPFILE=$(mktemp); echo '1 + 2' >$TMPFILE; (! nix-instantiate --eval --restrict-eval $TMPFILE); rm $TMPFILE
nix-instantiate --restrict-eval ./simple.nix -I src=.
nix-instantiate --restrict-eval ./simple.nix -I src1=simple.nix -I src2=config.nix -I src3=./simple.builder.sh