Use a combined cache derivation by default
This commit is contained in:
@@ -14,9 +14,6 @@ zero-install).
|
||||
- A default install-phase that creates executables for you based on `"bin"` in
|
||||
your `package.json`, making your package readily installable.
|
||||
|
||||
- Granular fetching of dependencies in Nix, speeding up rebuilds and
|
||||
potentially allowing downloads to be shared between projects.
|
||||
|
||||
- Preloading of your Yarn cache into the Nix store, speeding up local
|
||||
`nix-build`.
|
||||
|
||||
@@ -131,6 +128,10 @@ Some additional settings are available in `.yarnrc.yml`:
|
||||
Preloading does mean another copy of dependencies on disk, even if you don't
|
||||
do local Nix builds, but the size is usually not an issue on modern disks.
|
||||
|
||||
- `individualNixPackaging` can be set to `true` to create a derivation per
|
||||
dependency. This is useful in some cases, but can significantly slow down
|
||||
builds if cache is cold and preloading is not possible.
|
||||
|
||||
- `isolatedNixBuilds`, see [ISOLATED_BUILDS.md](./ISOLATED_BUILDS.md).
|
||||
|
||||
- `installNixBinariesForDependencies` can be set to also install executables
|
||||
|
||||
Reference in New Issue
Block a user