about summary refs log tree commit diff
path: root/tests/multiple-outputs.nix
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2011-12-21T13·47+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2011-12-21T13·47+0000
commit179409b9112ee9d9f858a124e0b109a46fe835c9 (patch)
treeb7ff9b07510defc768d7fce77a4263918bd4630f /tests/multiple-outputs.nix
parentedd9359bebe012ae40e9e1538dab8f91e2d58d3e (diff)
* Add a test for referring to another derivation's ‘drvPath’. This
  currently fails in read-only mode.

Diffstat (limited to 'tests/multiple-outputs.nix')
-rw-r--r--tests/multiple-outputs.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/multiple-outputs.nix b/tests/multiple-outputs.nix
index 7be96703d677..9ce1f3dcf1b1 100644
--- a/tests/multiple-outputs.nix
+++ b/tests/multiple-outputs.nix
@@ -32,6 +32,16 @@ rec {
       '';
   };
 
+  c = mkDerivation {
+    name = "multiple-outputs-c";
+    drv = b.drvPath;
+    builder = builtins.toFile "builder.sh"
+      ''
+        mkdir $out
+        ln -s $drv $out/drv
+      '';
+  };
+
   cyclic = (mkDerivation {
     name = "cyclic-outputs";
     outputs = [ "a" "b" ];