diff options
author | Théophane Hufschmitt <theophane.hufschmitt@tweag.io> | 2022-06-21 14:08:18 +0200 |
---|---|---|
committer | Théophane Hufschmitt <theophane.hufschmitt@tweag.io> | 2022-06-21 14:08:18 +0200 |
commit | 983efdbde47bd0ecaff866d43c3155761574c112 (patch) | |
tree | b79cb0cca633a2cedabbda938d0090cc9bbd35e7 /tests | |
parent | 16c6c6c963e78aff1911054fe4145b891d8e9fc8 (diff) |
Forbid the tilde expansion in pure eval mode
Fix #6684
Diffstat (limited to 'tests')
-rw-r--r-- | tests/pure-eval.sh | 2 |
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') |