aboutsummaryrefslogtreecommitdiff
path: root/pkgs/build-support/substitute
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-04-26 15:17:43 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-04-26 15:17:43 +0000
commitfa276c45dd0834dff731251c3d4c1fe8bc6a11e0 (patch)
treec2721581a9a8805bc1989f2a3db85882d7bf4c2d /pkgs/build-support/substitute
parente5fc65ed40fa984d87c40399f51f3e96fc78d619 (diff)
* Set preferLocalBuild on a few more trivial builders.
svn path=/nixpkgs/trunk/; revision=33935
Diffstat (limited to 'pkgs/build-support/substitute')
-rw-r--r--pkgs/build-support/substitute/substitute-all.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/build-support/substitute/substitute-all.nix b/pkgs/build-support/substitute/substitute-all.nix
index 6c0f970a392a..fb26894661d9 100644
--- a/pkgs/build-support/substitute/substitute-all.nix
+++ b/pkgs/build-support/substitute/substitute-all.nix
@@ -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)