about summary refs log blame commit diff
path: root/tests/hash-check.nix
blob: bbe4fe24791f5c60ef6eed1941e194bbf7b55541 (plain) (tree)




























                                                                      
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;
  };

}