all repos — nixfiles @ a42f481fa3e97a70c8fb5bbd33324003364a4a82

System and user configuration, managed by nix and home-manager

nix: mark build dependencies to not be gc'ed
Alan Pearce alan@alanpearce.eu
Mon, 13 Jun 2022 15:31:46 +0200
commit

a42f481fa3e97a70c8fb5bbd33324003364a4a82

parent

e013bfb77a097ebc5e441f629c563e7b75f8f123

1 files changed, 5 insertions(+), 0 deletions(-)

jump to
M system/settings/configuration/nix.nixsystem/settings/configuration/nix.nix
@@ -8,6 +8,11 @@ daemonIOSchedClass = "idle"; 
     trustedUsers = [ "@wheel" ];
 
+    extraOptions = ''
+      keep-outputs = true
+      keep-derivations = true
+    '';
+
     autoOptimiseStore = true;
     gc = {
       automatic = true;