mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
* Set preferLocalBuild on a few more trivial builders.
svn path=/nixpkgs/trunk/; revision=33935
This commit is contained in:
parent
e5fc65ed40
commit
fa276c45dd
@ -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"
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user