From 6fc5ce2c4f765ce8edb4368557884ba1d7e2c53e Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Mon, 18 Feb 2019 21:16:30 -0500 Subject: [PATCH] nixos/system-path.nix: add 3 to every priority MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We can’t use lowPrio here because it erases the differences in priority of the packages by setting it to a constant value. see this comment for info: https://github.com/NixOS/nixpkgs/issues/55886#issuecomment-464766877 --- nixos/modules/config/system-path.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/config/system-path.nix b/nixos/modules/config/system-path.nix index 7a65e44e828..fae2fc74008 100644 --- a/nixos/modules/config/system-path.nix +++ b/nixos/modules/config/system-path.nix @@ -7,7 +7,7 @@ with lib; let - requiredPackages = map lib.lowPrio + requiredPackages = map (pkg: setPrio ((pkg.meta.priority or 5) + 3) pkg) [ config.nix.package pkgs.acl pkgs.attr