Support isolated builds with a combined cache

This commit is contained in:
Stéphan Kochen
2024-02-11 13:27:49 +01:00
parent ab15ad6804
commit 56e3459543
4 changed files with 41 additions and 24 deletions
-3
View File
@@ -9,12 +9,9 @@ As an example, to create an isolated build of sqlite3, add the following to
your `.yarnrc.yml`:
```yml
individualNixPackaging: true
isolatedNixBuilds: ["sqlite3"]
```
(`individualNixPackaging` is required to use `isolatedNixBuilds`.)
In your Nix expression, separate options can be set to override attributes of
these derivations, which is often necessary to provide build inputs. For
sqlite3, you'd do the following in your `default.nix`: