Skip to content

Commit

Permalink
nixos/systemd: Explicitly put default path packages after others
Browse files Browse the repository at this point in the history
This fixes the dhcpcd issue in NixOS#76969,
which was exposed by NixOS#75031
introducing changes in the module ordering and therefore option ordering
too.

The dhcpcd issue would also be fixable by explicitly putting
dhcpcd's paths before others, however it makes more sense for systemd's
default paths to be after all others by default, since they should only
be a fallback, which is how binary finding will work if they come after.

(cherry picked from commit 9327e1c)
  • Loading branch information
infinisil authored and dtzWill committed Jan 6, 2020
1 parent 3439b8a commit 2ba2bf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/system/boot/systemd.nix
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ let
serviceConfig = { name, config, ... }: {
config = mkMerge
[ { # Default path for systemd services. Should be quite minimal.
path =
path = mkAfter
[ pkgs.coreutils
pkgs.findutils
pkgs.gnugrep
Expand Down

0 comments on commit 2ba2bf8

Please sign in to comment.