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.
This commit is contained in:
Matthew Bauer 2018-06-26 21:47:24 -04:00
parent e01db49bfa
commit f194659ddb

View File

@ -181,6 +181,7 @@ rec {
outputHashAlgo = hashAlgo;
outputHash = hash;
preferLocalBuild = true;
allowSubstitutes = false;
builder = writeScript "restrict-message" ''
source ${stdenvNoCC}/setup
cat <<_EOF_