diff options
Diffstat (limited to 'tests/locking.nix.in')
-rw-r--r-- | tests/locking.nix.in | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/locking.nix.in b/tests/locking.nix.in new file mode 100644 index 000000000000..72070678f07a --- /dev/null +++ b/tests/locking.nix.in @@ -0,0 +1,18 @@ +let { + + mkDrv = text: inputs: derivation { + name = "locking"; + system = "@system@"; + builder = "@shell@"; + args = ["-e" "-x" ./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]; + + body = e; +} \ No newline at end of file |