* nixos-deploy-network: build the deploy script locally as an

optimisation and workaround for Nix/210.

svn path=/nixos/trunk/; revision=24956
This commit is contained in:
Eelco Dolstra 2010-12-02 18:09:53 +00:00
parent e97a3d9cb6
commit 651a38019d

View file

@ -86,6 +86,11 @@ let
in
pkgs.stdenv.mkDerivation {
name = "deploy-script";
# This script has a zillion dependencies and is trivial to build, so
# we don't want to build it remotely.
preferLocalBuild = true;
buildCommand =
''
ensureDir $out/bin