tvl-depot/third_party/nix/tests/hash-check.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
628 B
Nix
Raw Normal View History

let {
input1 = derivation {
name = "dependencies-input-1";
system = "i086-msdos";
builder = "/bar/sh";
2006-07-21 15:21:43 +02:00
args = ["-e" "-x" ./dummy];
};
input2 = derivation {
name = "dependencies-input-2";
system = "i086-msdos";
builder = "/bar/sh";
2006-07-21 15:21:43 +02:00
args = ["-e" "-x" ./dummy];
outputHashMode = "recursive";
outputHashAlgo = "md5";
outputHash = "ffffffffffffffffffffffffffffffff";
};
body = derivation {
name = "dependencies";
system = "i086-msdos";
builder = "/bar/sh";
2006-07-21 15:21:43 +02:00
args = ["-e" "-x" (./dummy + "/FOOBAR/../.")];
input1 = input1 + "/.";
inherit input2;
};
}