Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md with nix.conf changes needed for persistent derivations #2

Merged
merged 1 commit into from
Mar 6, 2020

Conversation

matt-snider
Copy link
Contributor

It appears that the derivations produced by nix-direnv are removed when running nix's garbage collection. Troubleshooting this issue led me to a git issue in the NixOS/nix repo. Enabling both keep-derivations and keep-outputs worked for me as recommended, and now nix-direnv is working.

It appears that the derivations produced by nix-direnv are removed when running nix's garbage collection. Troubleshooting this issue led me to a git issue in the NixOS/nix repo [1]. Enabling both `keep-derivations` and `keep-outputs` worked for me as recommended, and now nix-direnv is working.

[1]: NixOS/nix#2208
@Mic92
Copy link
Member

Mic92 commented Mar 6, 2020

Indeed. I added keep-outputs some time ago and forgot about it.

@Mic92 Mic92 merged commit 81d3f50 into nix-community:master Mar 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants