* Set preferLocalBuild on a few more trivial builders.

svn path=/nixpkgs/trunk/; revision=33935
This commit is contained in:
Eelco Dolstra 2012-04-26 15:17:43 +00:00
parent e5fc65ed40
commit fa276c45dd
2 changed files with 5 additions and 2 deletions

View File

@ -26,7 +26,9 @@
}:
runCommand name
{ inherit manifest paths ignoreCollisions pathsToLink postBuild; }
{ inherit manifest paths ignoreCollisions pathsToLink postBuild;
preferLocalBuild = true;
}
''
${perl}/bin/perl -w ${./builder.pl}
eval "$postBuild"

View File

@ -1,4 +1,4 @@
{stdenv}:
{ stdenv }:
args:
@ -6,4 +6,5 @@ stdenv.mkDerivation ({
name = if args ? name then args.name else baseNameOf (toString args.src);
builder = ./substitute-all.sh;
inherit (args) src;
preferLocalBuild = true;
} // args)