From 4b581903b3c49a11b7db9358308bed76df7b2ffa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Fri, 19 Feb 2016 13:46:21 +0100 Subject: [PATCH] requireFile: preferLocalBuild = true There's no point trying to "distribute" showing the error message. --- pkgs/build-support/trivial-builders.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/pkgs/build-support/trivial-builders.nix b/pkgs/build-support/trivial-builders.nix index 134ef48ad061..6cd82adf8e70 100644 --- a/pkgs/build-support/trivial-builders.nix +++ b/pkgs/build-support/trivial-builders.nix @@ -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_ ''; };