Unverified Commit 9887be97 authored by Guillaume Girol's avatar Guillaume Girol Committed by GitHub
Browse files

Merge pull request #292437 from deviant/nixos-nixseparatedebuginfod-nix2.3

nixos/nixseparatedebuginfod: fix compatibility with Nix 2.3
parents eeb11778 ff990ea6
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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}";