dev.fron.io rc / 61eb75f
shell: reenable GC Tony Olagbaiye 1 year, 8 months ago
1 changed file(s) with 7 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
3030 ARGS="$ARGS -vv"
3131 fi
3232
33 if [ $FLAGS_noisy -eq $FLAGS_TRUE ]; then
34 ARGS="$ARGS -vvvvv"
35 fi
36
3337 echo '> nixos-rebuild' $ARGS ${operation}
3438 source $(which nixos-rebuild) $ARGS ${operation}
3539 '';
4751 DEFINE_string 'host' "" 'Host to build' 'H'
4852 DEFINE_boolean 'showtrace' false 'Show verbose traces' 't'
4953 DEFINE_boolean 'verbose' false 'Show verbose logs' 'v'
54 DEFINE_boolean 'noisy' false 'Show noisy logs' 'V'
5055 ''}
5156 ${rebuild "switch"}
5257
8590 DEFINE_string 'host' "" 'Host to build' 'H'
8691 DEFINE_boolean 'showtrace' false 'Show verbose traces' 't'
8792 DEFINE_boolean 'verbose' false 'Show verbose logs' 'v'
93 DEFINE_boolean 'noisy' false 'Show noisy logs' 'V'
8894 ''}
8995 ${rebuild "dry-activate"}
9096 '';
115121 mkdir -p secrets
116122 '';
117123
118 GC_DONT_GC = 1; # Dangerously mitigate GC-based crashes
124 #GC_DONT_GC = 1; # Dangerously mitigate GC-based crashes
119125
120126 NIX_CONF_DIR = let
121127 current = pkgs.lib.optionalString (builtins.pathExists /etc/nix/nix.conf)