mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
29 lines
No EOL
628 B
Nix
29 lines
No EOL
628 B
Nix
let {
|
|
|
|
input1 = derivation {
|
|
name = "dependencies-input-1";
|
|
system = "i086-msdos";
|
|
builder = "/bar/sh";
|
|
args = ["-e" "-x" ./dummy];
|
|
};
|
|
|
|
input2 = derivation {
|
|
name = "dependencies-input-2";
|
|
system = "i086-msdos";
|
|
builder = "/bar/sh";
|
|
args = ["-e" "-x" ./dummy];
|
|
outputHashMode = "recursive";
|
|
outputHashAlgo = "md5";
|
|
outputHash = "ffffffffffffffffffffffffffffffff";
|
|
};
|
|
|
|
body = derivation {
|
|
name = "dependencies";
|
|
system = "i086-msdos";
|
|
builder = "/bar/sh";
|
|
args = ["-e" "-x" (./dummy + "/FOOBAR/../.")];
|
|
input1 = input1 + "/.";
|
|
inherit input2;
|
|
};
|
|
|
|
} |