Commit 1dfd02e
committed
perf(core.wrapper): preferLocalBuild by default
https://nix.dev/manual/nix/2.33/protocols/json/derivation/options.html#preferLocalBuild
This prevents it from checking a remote cache for your wrapper
derivation with your settings in it.
Many wrapper derivation generators for various programs in nixpkgs and
external flakes set this in their derivation, as the derivation contains
user provided settings which will not be in a remote cache.
For the vast majority of wrapper derivations, the cost of checking the
network should far exceed the amount of time it takes to
link/copy/convert the files in the wrapper derivation.
If you have already built your wrapper derivation locally, it will still
check your local cache.1 parent d155000 commit 1dfd02e
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
916 | 916 | | |
917 | 917 | | |
918 | 918 | | |
| 919 | + | |
919 | 920 | | |
920 | 921 | | |
921 | 922 | | |
| |||
0 commit comments