about summary refs log tree commit diff
path: root/tests/pass-as-file.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pass-as-file.sh')
-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
   '';
 }