about summary refs log tree commit diff
path: root/tests/lang/eval-fail-bad-antiquote-2.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-10-16T22·39+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-10-16T22·39+0200
commitd6a7aa8f4827f97856ed55226426c355e1d1b4d1 (patch)
tree974ab95bdac1c1d17ea2404c1dd08adac1a52672 /tests/lang/eval-fail-bad-antiquote-2.nix
parentb8571d68c4f2c0b4b0b8f3d7c7ef09668aab140f (diff)
Revert the behaviour of antiquoted paths to pre-Nix 1.6
Commit 159e621d1a9c4391b53f3d822109c36931934698 accidentally changed
the behaviour of antiquoted paths, e.g.

  "${/foo}/bar"

used to evaluate to "/nix/store/<hash>-foo/bar" (where /foo gets
copied to the store), but in Nix 1.6 it evaluates to "/foo/bar".  This
is inconsistent, since

  " ${/foo}/bar"

evaluates to " /nix/store/<hash>-foo/bar".  So revert to the old
behaviour.
Diffstat (limited to 'tests/lang/eval-fail-bad-antiquote-2.nix')
0 files changed, 0 insertions, 0 deletions