aboutsummaryrefslogtreecommitdiff
path: root/tests/functional
diff options
context:
space:
mode:
authorAudrey Dutcher <audrey@rhelmot.io>2024-08-20 22:51:38 +0000
committerGerrit Code Review <gerrit@localhost>2024-08-20 22:51:38 +0000
commitac6974777efdaa85715cf7838fe878665061f86c (patch)
tree4ec2433ba54ccc28c0f98e91a8aed6549f794a93 /tests/functional
parent736b5d5913e8421338018e734ffc3d42e8ce9427 (diff)
parentae628d4af29a3b89340a91187a6e7d4d242e759d (diff)
Merge "tests/functional/restricted: Don't use a process substitution" into main
Diffstat (limited to 'tests/functional')
-rw-r--r--tests/functional/restricted.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/functional/restricted.sh b/tests/functional/restricted.sh
index e0c3fe773..450674bd6 100644
--- a/tests/functional/restricted.sh
+++ b/tests/functional/restricted.sh
@@ -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