Don't use a redirected subshell in tests/restricted.sh (fails on FreeBSD)
This commit is contained in:
committed by
Jörg Thalheim
parent
49b385af00
commit
8f91140253
@@ -6,7 +6,7 @@ clearStoreIfPossible
|
||||
|
||||
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)
|
||||
|
||||
mkdir -p "$TEST_ROOT/nix"
|
||||
cp ./simple.nix "$TEST_ROOT/nix"
|
||||
|
||||
Reference in New Issue
Block a user