Make nix keep output of derivations with gc root

This commit is contained in:
Simon Bruder 2020-12-05 23:08:24 +01:00
parent e53f2882f4
commit 0bbfafcafb
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

@ -76,6 +76,11 @@
# On-the-fly optimisation of nix store
autoOptimiseStore = true;
# Keep output of derivations with gc root
extraOptions = ''
keep-outputs = true
keep-derivations = true
'';
# Make nix build in background less noticeable
daemonIONiceLevel = 5; # 0-7