From 7810f7f61afb73b042bf78dd490a3c5edff7dd53 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 20 Jun 2013 19:39:09 +0200 Subject: [PATCH] Build unit files locally --- modules/system/boot/systemd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/system/boot/systemd.nix b/modules/system/boot/systemd.nix index 11c2cfc6ace4..e055296c9514 100644 --- a/modules/system/boot/systemd.nix +++ b/modules/system/boot/systemd.nix @@ -11,7 +11,7 @@ let systemd = cfg.package; makeUnit = name: unit: - pkgs.runCommand "unit" { inherit (unit) text; } + pkgs.runCommand "unit" { inherit (unit) text; preferLocalBuild = true; } (if unit.enable then '' mkdir -p $out echo -n "$text" > $out/${name}