about summary refs log tree commit diff
path: root/nixos/lib
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/lib')
-rw-r--r--nixos/lib/testing.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/lib/testing.nix b/nixos/lib/testing.nix
index 59d05f87d5fe..aa1cec1ea02d 100644
--- a/nixos/lib/testing.nix
+++ b/nixos/lib/testing.nix
@@ -15,6 +15,8 @@ rec {
 
     unpackPhase = "true";
 
+    preferLocalBuild = true;
+
     installPhase =
       ''
         mkdir -p $out/bin