requireFile: preferLocalBuild = true

There's no point trying to "distribute" showing the error message.
This commit is contained in:
Vladimír Čunát 2016-02-19 13:46:21 +01:00
parent c6d9d8dfa1
commit 4b581903b3

View File

@ -118,15 +118,16 @@ rec {
name = name_;
outputHashAlgo = hashAlgo;
outputHash = hash;
preferLocalBuild = true;
builder = writeScript "restrict-message" ''
source ${stdenv}/setup
cat <<_EOF_
source ${stdenv}/setup
cat <<_EOF_
***
${msg}
***
***
${msg}
***
_EOF_
_EOF_
'';
};