diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2018-06-26 21:47:24 -0400 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2018-06-26 21:49:08 -0400 |
commit | f194659ddbac889755737e7e2dc09b0bb821396a (patch) | |
tree | 03c5be52d75ab52dbdfad29d754e3a98b2baa332 | |
parent | e01db49bfa43b0016229150fa19c9967677a808c (diff) | |
download | nixpkgs-f194659ddbac889755737e7e2dc09b0bb821396a.tar nixpkgs-f194659ddbac889755737e7e2dc09b0bb821396a.tar.gz nixpkgs-f194659ddbac889755737e7e2dc09b0bb821396a.tar.bz2 nixpkgs-f194659ddbac889755737e7e2dc09b0bb821396a.tar.lz nixpkgs-f194659ddbac889755737e7e2dc09b0bb821396a.tar.xz nixpkgs-f194659ddbac889755737e7e2dc09b0bb821396a.tar.zst nixpkgs-f194659ddbac889755737e7e2dc09b0bb821396a.zip |
trivial-builders: disallow sub in requireFile
The requireFile call was being substituted from the binary cache. We do not want this to happen as the user needs to download the file themselves.
-rw-r--r-- | pkgs/build-support/trivial-builders.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/build-support/trivial-builders.nix b/pkgs/build-support/trivial-builders.nix index bce5436353c..f9816b2d0d7 100644 --- a/pkgs/build-support/trivial-builders.nix +++ b/pkgs/build-support/trivial-builders.nix @@ -181,6 +181,7 @@ rec { outputHashAlgo = hashAlgo; outputHash = hash; preferLocalBuild = true; + allowSubstitutes = false; builder = writeScript "restrict-message" '' source ${stdenvNoCC}/setup cat <<_EOF_ |