forked from mirrors/nixpkgs
requireFile: preferLocalBuild = true
There's no point trying to "distribute" showing the error message.
This commit is contained in:
parent
c6d9d8dfa1
commit
4b581903b3
|
@ -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_
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue