summary refs log tree commit diff
path: root/nixos/modules/config/system-path.nix
diff options
context:
space:
mode:
authorLéo Gaspard <leo@gaspard.io>2018-12-26 23:16:17 +0900
committerLéo Gaspard <leo@gaspard.io>2018-12-26 23:16:17 +0900
commitfa98337a15986ab41c545075a2f02a24189d9569 (patch)
tree3290f2e94c72642af11e40e7e348c0ad0dd51760 /nixos/modules/config/system-path.nix
parentf4b4dc2d0bdbddc040f5eb46e70469d1392deab6 (diff)
downloadnixpkgs-fa98337a15986ab41c545075a2f02a24189d9569.tar
nixpkgs-fa98337a15986ab41c545075a2f02a24189d9569.tar.gz
nixpkgs-fa98337a15986ab41c545075a2f02a24189d9569.tar.bz2
nixpkgs-fa98337a15986ab41c545075a2f02a24189d9569.tar.lz
nixpkgs-fa98337a15986ab41c545075a2f02a24189d9569.tar.xz
nixpkgs-fa98337a15986ab41c545075a2f02a24189d9569.tar.zst
nixpkgs-fa98337a15986ab41c545075a2f02a24189d9569.zip
system-path: set implicitly installed packages to be low-priority
The aim is to minimize surprises: when the user explicitly installs a
package in their configuration, it should override any package
implicitly installed by NixOS.
Diffstat (limited to 'nixos/modules/config/system-path.nix')
-rw-r--r--nixos/modules/config/system-path.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/config/system-path.nix b/nixos/modules/config/system-path.nix
index aece7aa67ac..7a65e44e828 100644
--- a/nixos/modules/config/system-path.nix
+++ b/nixos/modules/config/system-path.nix
@@ -7,7 +7,7 @@ with lib;
 
 let
 
-  requiredPackages =
+  requiredPackages = map lib.lowPrio
     [ config.nix.package
       pkgs.acl
       pkgs.attr