* 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
|
runCommand name
|
||||||
{ inherit manifest paths ignoreCollisions pathsToLink postBuild; }
|
{ inherit manifest paths ignoreCollisions pathsToLink postBuild;
|
||||||
|
preferLocalBuild = true;
|
||||||
|
}
|
||||||
''
|
''
|
||||||
${perl}/bin/perl -w ${./builder.pl}
|
${perl}/bin/perl -w ${./builder.pl}
|
||||||
eval "$postBuild"
|
eval "$postBuild"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{stdenv}:
|
{ stdenv }:
|
||||||
|
|
||||||
args:
|
args:
|
||||||
|
|
||||||
|
@ -6,4 +6,5 @@ stdenv.mkDerivation ({
|
||||||
name = if args ? name then args.name else baseNameOf (toString args.src);
|
name = if args ? name then args.name else baseNameOf (toString args.src);
|
||||||
builder = ./substitute-all.sh;
|
builder = ./substitute-all.sh;
|
||||||
inherit (args) src;
|
inherit (args) src;
|
||||||
|
preferLocalBuild = true;
|
||||||
} // args)
|
} // args)
|
||||||
|
|
Loading…
Reference in New Issue