mirror of
https://github.com/nix-community/nix-direnv.git
synced 2025-11-08 19:46:11 +01:00
Merge pull request #2 from matt-snider/patch-1
Update README.md with nix.conf changes needed for persistent derivations
This commit is contained in:
commit
81d3f5083a
1 changed files with 7 additions and 0 deletions
|
|
@ -20,3 +20,10 @@ Then source the direnvrc from this repository in your own `.direnvrc`
|
||||||
# put this in ~/.direnvrc
|
# put this in ~/.direnvrc
|
||||||
source $HOME/.nix-direnv/direnvrc
|
source $HOME/.nix-direnv/direnvrc
|
||||||
```
|
```
|
||||||
|
|
||||||
|
For derivations to persist garbage collection, set the following in nix.conf:
|
||||||
|
|
||||||
|
```
|
||||||
|
keep-derivations = true
|
||||||
|
keep-outputs = true
|
||||||
|
```
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue