mirror of
https://github.com/NixOS/nix
synced 2025-07-08 19:23:54 +02:00
* Refactoring: renamed *.nix.in to *.nix.
This commit is contained in:
parent
2d5114452d
commit
51e7e32c3b
22 changed files with 209 additions and 264 deletions
17
tests/parallel.nix
Normal file
17
tests/parallel.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
with import ./config.nix;
|
||||
|
||||
let
|
||||
|
||||
mkDrv = text: inputs: mkDerivation {
|
||||
name = "parallel";
|
||||
builder = ./parallel.builder.sh;
|
||||
inherit text inputs shared;
|
||||
};
|
||||
|
||||
a = mkDrv "a" [];
|
||||
b = mkDrv "b" [a];
|
||||
c = mkDrv "c" [a];
|
||||
d = mkDrv "d" [a];
|
||||
e = mkDrv "e" [b c d];
|
||||
|
||||
in e
|
Loading…
Add table
Add a link
Reference in a new issue