From bd9106415099b32a51f66be886d18271e65ac9dd Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 17 Feb 2015 16:42:54 +0100 Subject: Use $Path instead of $ for passAsFile --- tests/pass-as-file.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/pass-as-file.sh b/tests/pass-as-file.sh index b61576e05799..3dfe10baa235 100644 --- a/tests/pass-as-file.sh +++ b/tests/pass-as-file.sh @@ -10,7 +10,7 @@ mkDerivation { passAsFile = [ \"foo\" ]; foo = [ \"xyzzy\" ]; builder = builtins.toFile \"builder.sh\" '' - [ \"\$(cat \$foo)\" = xyzzy ] + [ \"\$(cat \$fooPath)\" = xyzzy ] touch \$out ''; } -- cgit 1.4.1