Fix context test

This commit is contained in:
Shea Levy 2014-10-18 20:34:48 -04:00
parent 0ee1ca628a
commit c9bd6a1de4

View file

@ -1,4 +1,4 @@
let s = "foo ${builtins.substring 33 100 (baseNameOf ./eval-okay-context.nix)} bar";
let s = "foo ${builtins.substring 33 100 (baseNameOf "${./eval-okay-context.nix}")} bar";
in
if s != "foo eval-okay-context.nix bar"
then abort "context not discarded"