about summary refs log tree commit diff
path: root/corepkgs/nar.nix
diff options
context:
space:
mode:
Diffstat (limited to 'corepkgs/nar.nix')
-rw-r--r--corepkgs/nar.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/corepkgs/nar.nix b/corepkgs/nar.nix
index 73009047ec08..c3db19d0d3f1 100644
--- a/corepkgs/nar.nix
+++ b/corepkgs/nar.nix
@@ -43,4 +43,7 @@ derivation {
 
   # Don't build in a chroot because Nix's dependencies may not be there.
   __noChroot = true;
+
+  # Remote machines may not have ${nixBinDir} or ${coreutils} in the same prefixes
+  preferLocalBuild = true;
 }