3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules/system
worldofpeace 1c2e27e4d5 nixos/systemd-lib: don't fail on systemd.packages duplicates
In some cases like we've noticed in https://github.com/NixOS/nixpkgs/issues/76169,
having duplicate packages in systemd.packages like
```
systemd.packages = [ gnome-shell gnome-shell gnome-session ];
```
breaks.

Here we use an associative array to ensure no
duplicate paths when we symlink all the units listed
in systemd.packages.
2020-01-07 21:42:14 -05:00
..
activation Revert "nixos/switch-to-configuration: restart changed socket units" 2019-11-30 13:46:57 +01:00
boot nixos/systemd-lib: don't fail on systemd.packages duplicates 2020-01-07 21:42:14 -05:00
etc Revert "Merge pull request #54980 from danbst/etc-relative" (#56507) 2019-02-28 07:48:40 +02:00