aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorThéophane Hufschmitt <theophane.hufschmitt@tweag.io>2022-06-21 14:08:18 +0200
committerThéophane Hufschmitt <theophane.hufschmitt@tweag.io>2022-06-21 14:08:18 +0200
commit983efdbde47bd0ecaff866d43c3155761574c112 (patch)
treeb79cb0cca633a2cedabbda938d0090cc9bbd35e7 /tests
parent16c6c6c963e78aff1911054fe4145b891d8e9fc8 (diff)
Forbid the tilde expansion in pure eval mode
Fix #6684
Diffstat (limited to 'tests')
-rw-r--r--tests/pure-eval.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/pure-eval.sh b/tests/pure-eval.sh
index 1a4568ea6..b83ab8afe 100644
--- a/tests/pure-eval.sh
+++ b/tests/pure-eval.sh
@@ -30,3 +30,5 @@ nix eval --store dummy:// --write-to $TEST_ROOT/eval-out --expr '{ x = "foo" + "
rm -rf $TEST_ROOT/eval-out
(! nix eval --store dummy:// --write-to $TEST_ROOT/eval-out --expr '{ "." = "bla"; }')
+
+(! nix eval --expr '~/foo')