nixos/nixseparatedebuginfod: fix compatibility with Nix 2.3
Appending to options with the `extra-` prefix was added in Nix 2.4, which makes config validation fail on this version without the guard. Change-Id: Ie253978dbaf00b228fecc08698a3dcc01cd2d82b
This commit is contained in:
parent
a51f094878
commit
ff990ea66a
@ -90,7 +90,9 @@ in
|
||||
|
||||
users.groups.nixseparatedebuginfod = { };
|
||||
|
||||
nix.settings.extra-allowed-users = [ "nixseparatedebuginfod" ];
|
||||
nix.settings = lib.optionalAttrs (lib.versionAtLeast config.nix.package.version "2.4") {
|
||||
extra-allowed-users = [ "nixseparatedebuginfod" ];
|
||||
};
|
||||
|
||||
environment.variables.DEBUGINFOD_URLS = "http://${url}";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user