mkShell: set preferLocalBuild by default
Before this change, `nix develop` would often result in all the shell's dependencies being copied to a remote builder, only for the remote builder to run a trivial derivation build. This change makes `nix develop` much faster on systems with remote builders configured.
This commit is contained in:
parent
545c7a31e5
commit
c4b83df38a
@ -53,4 +53,6 @@ stdenv.mkDerivation ({
|
||||
export;
|
||||
} >> "$out"
|
||||
'';
|
||||
|
||||
preferLocalBuild = true;
|
||||
} // rest)
|
||||
|
Loading…
Reference in New Issue
Block a user