about summary refs log tree commit diff
path: root/tests/locking.nix
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2009-03-17T17·11+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2009-03-17T17·11+0000
commit51e7e32c3bf7c2fb5045b0655c2edc1fbf347455 (patch)
tree21337c26d0106fa92b5f82854f623640b24dc34e /tests/locking.nix
parent2d5114452d8a8f73c858f9beb6bfaafe35e7bf9a (diff)
* Refactoring: renamed *.nix.in to *.nix.
Diffstat (limited to 'tests/locking.nix')
-rw-r--r--tests/locking.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/locking.nix b/tests/locking.nix
new file mode 100644
index 000000000000..a0407685b319
--- /dev/null
+++ b/tests/locking.nix
@@ -0,0 +1,17 @@
+with import ./config.nix;
+
+let
+
+  mkDrv = text: inputs: mkDerivation {
+    name = "locking";
+    builder = ./locking.builder.sh;
+    inherit text inputs;
+  };
+
+  a = mkDrv "a" [];
+  b = mkDrv "b" [a];
+  c = mkDrv "c" [a b];
+  d = mkDrv "d" [a];
+  e = mkDrv "e" [c d];
+
+in e