about summary refs log tree commit diff
path: root/nix/readTree/tests/test-tree-traversal/default-nix/can-be-drv/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix/readTree/tests/test-tree-traversal/default-nix/can-be-drv/default.nix')
-rw-r--r--nix/readTree/tests/test-tree-traversal/default-nix/can-be-drv/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/nix/readTree/tests/test-tree-traversal/default-nix/can-be-drv/default.nix b/nix/readTree/tests/test-tree-traversal/default-nix/can-be-drv/default.nix
new file mode 100644
index 000000000000..95d13d3c2750
--- /dev/null
+++ b/nix/readTree/tests/test-tree-traversal/default-nix/can-be-drv/default.nix
@@ -0,0 +1,7 @@
+{ ... }:
+derivation {
+  name = "im-a-drv";
+  system = builtins.currentSystem;
+  builder = "/bin/sh";
+  args = [ "-c" ''echo "" > $out'' ];
+}