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:
Jörg Thalheim 2020-03-06 09:37:16 +00:00 committed by GitHub
commit 81d3f5083a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,3 +20,10 @@ Then source the direnvrc from this repository in your own `.direnvrc`
# put this in ~/.direnvrc
source $HOME/.nix-direnv/direnvrc
```
For derivations to persist garbage collection, set the following in nix.conf:
```
keep-derivations = true
keep-outputs = true
```