about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-02-17T15·42+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-02-17T15·42+0100
commitbd9106415099b32a51f66be886d18271e65ac9dd (patch)
treea2cf442a8c265fee174b817eef64d6cae0126159 /tests
parenta70d275f3d25f6e1eb1b6d528ee07ecd7265ada5 (diff)
Use $<attr>Path instead of $<attr> for passAsFile
Diffstat (limited to 'tests')
-rw-r--r--tests/pass-as-file.sh2
1 files changed, 1 insertions, 1 deletions
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
   '';
 }