nix-super/tests/hash-check.nix
2006-07-19 15:49:29 +00:00

29 lines
No EOL
685 B
Nix

let {
input1 = derivation {
name = "dependencies-input-1";
system = "i086-msdos";
builder = "/bar/sh";
args = ["-e" "-x" ./dependencies.builder1.sh];
};
input2 = derivation {
name = "dependencies-input-2";
system = "i086-msdos";
builder = "/bar/sh";
args = ["-e" "-x" ./dependencies.builder2.sh];
outputHashMode = "recursive";
outputHashAlgo = "md5";
outputHash = "ffffffffffffffffffffffffffffffff";
};
body = derivation {
name = "dependencies";
system = "i086-msdos";
builder = "/bar/sh";
args = ["-e" "-x" (./dependencies.builder0.sh + "/FOOBAR/../.")];
input1 = input1 + "/.";
inherit input2;
};
}