about summary refs log tree commit diff
path: root/tests/dependencies.nix
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2009-03-17T16·33+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2009-03-17T16·33+0000
commit2d5114452d8a8f73c858f9beb6bfaafe35e7bf9a (patch)
tree676ad5958bce42d91d09518cf44c61a6414ac0e2 /tests/dependencies.nix
parent33ecb4299107da91f5d61131ead37afabe496649 (diff)
* Regression test for the `exportReferencesGraph'
  derivation attribute. 

Diffstat (limited to 'tests/dependencies.nix')
-rw-r--r--tests/dependencies.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/dependencies.nix b/tests/dependencies.nix
new file mode 100644
index 000000000000..a397e1ce4159
--- /dev/null
+++ b/tests/dependencies.nix
@@ -0,0 +1,22 @@
+with import ./config.nix;
+
+let {
+
+  input1 = mkDerivation {
+    name = "dependencies-input-1";
+    builder = ./dependencies.builder1.sh;
+  };
+
+  input2 = mkDerivation {
+    name = "dependencies-input-2";
+    builder = ./. ~ "dependencies.builder2.sh";
+  };
+
+  body = mkDerivation {
+    name = "dependencies";
+    builder = ./dependencies.builder0.sh  + "/FOOBAR/../.";
+    input1 = input1 + "/.";
+    inherit input2;
+  };
+
+}