mirror of
https://github.com/NixOS/nix.git
synced 2025-11-13 22:12:43 +01:00
Don't use a redirected subshell in tests/restricted.sh (fails on FreeBSD)
This commit is contained in:
parent
49b385af00
commit
8f91140253
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue