about summary refs log tree commit diff
path: root/third_party/nix/tests/pass-as-file.sh
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/tests/pass-as-file.sh')
-rw-r--r--third_party/nix/tests/pass-as-file.sh18
1 files changed, 0 insertions, 18 deletions
diff --git a/third_party/nix/tests/pass-as-file.sh b/third_party/nix/tests/pass-as-file.sh
deleted file mode 100644
index 2c0bc5031ad7..000000000000
--- a/third_party/nix/tests/pass-as-file.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-source common.sh
-
-clearStore
-
-outPath=$(nix-build --no-out-link -E "
-with import ./config.nix;
-
-mkDerivation {
-  name = \"pass-as-file\";
-  passAsFile = [ \"foo\" ];
-  foo = [ \"xyzzy\" ];
-  builder = builtins.toFile \"builder.sh\" ''
-    [ \"\$(basename \$fooPath)\" = .attr-1bp7cri8hplaz6hbz0v4f0nl44rl84q1sg25kgwqzipzd1mv89ic ]
-    [ \"\$(cat \$fooPath)\" = xyzzy ]
-    touch \$out
-  '';
-}
-")