mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
nixos/nix-daemon: don't refer to deprecated option aliases
The `gc-` prefixed versions of these options have been deprecated since Nix 2.0.
This commit is contained in:
parent
f702ae1516
commit
a68219b79b
2 changed files with 4 additions and 4 deletions
|
@ -242,8 +242,8 @@ in
|
||||||
environment.variables = hydraEnv;
|
environment.variables = hydraEnv;
|
||||||
|
|
||||||
nix.extraOptions = ''
|
nix.extraOptions = ''
|
||||||
gc-keep-outputs = true
|
keep-outputs = true
|
||||||
gc-keep-derivations = true
|
keep-derivations = true
|
||||||
|
|
||||||
# The default (`true') slows Nix down a lot since the build farm
|
# The default (`true') slows Nix down a lot since the build farm
|
||||||
# has so many GC roots.
|
# has so many GC roots.
|
||||||
|
|
|
@ -152,8 +152,8 @@ in
|
||||||
type = types.lines;
|
type = types.lines;
|
||||||
default = "";
|
default = "";
|
||||||
example = ''
|
example = ''
|
||||||
gc-keep-outputs = true
|
keep-outputs = true
|
||||||
gc-keep-derivations = true
|
keep-derivations = true
|
||||||
'';
|
'';
|
||||||
description = "Additional text appended to <filename>nix.conf</filename>.";
|
description = "Additional text appended to <filename>nix.conf</filename>.";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue