Commit f194659d authored by Matthew Bauer's avatar Matthew Bauer
Browse files

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.
parent e01db49b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -181,6 +181,7 @@ rec {
      outputHashAlgo = hashAlgo;
      outputHash = hash;
      preferLocalBuild = true;
      allowSubstitutes = false;
      builder = writeScript "restrict-message" ''
        source ${stdenvNoCC}/setup
        cat <<_EOF_