1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-03 07:31:03 +01:00
home-manager/modules
Marien Zwart f045bd46b7 fish: keep all fish-completions packages around
...even empty ones.

For packages in `home.packages` with no Fish completions, we build an
empty directory that is not included in our runtime closure (because we
build a collection of symlinks to their contents: if there are no
contents, there is nothing to symlink). This means these empty
completion packages get garbage-collected by Nix. They are not that
expensive to rebuild but there can be enough of them it adds up, and any
change to any package in `home.packages` is enough to trigger a rebuild.

Fix this by forcing a dependency on all of them. Since we already
depended on them anyway if they were non-empty, this only adds
dependencies on empty directories (so should not significantly affect
storage space).

Fixes #6157.
2025-05-02 11:11:28 +02:00
..
accounts accounts/contact: add sensible defaults to the localModule (#6799) 2025-04-10 22:29:30 -05:00
config treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
files files: make collision error message more helpful 2024-04-30 00:41:45 +02:00
i18n/input-method fcitx5: ensure config doesn't get overwritten (#6940) 2025-04-30 14:19:29 -05:00
launchd treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
lib maintainers: add Oughie 2025-04-20 20:02:06 -07:00
lib-bash home-manager: move profile management 2025-01-03 11:22:59 +01:00
misc espanso: fix alias in news (#6931) 2025-04-28 21:20:13 -05:00
po Translate using Weblate (Dutch) (#6828) 2025-04-16 08:00:29 -05:00
programs fish: keep all fish-completions packages around 2025-05-02 11:11:28 +02:00
services gpg-agent: fix typo (#6950) 2025-05-01 15:11:25 -05:00
targets treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
default.nix treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
files.nix treewide: substituteAll -> replaceVars/substitute 2025-04-24 13:40:11 +02:00
home-environment.nix home-environment: add home.extraDependencies 2025-05-02 11:11:28 +02:00
manual.nix treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
modules.nix mpvpaper: add module (#6926) 2025-04-28 11:49:19 -05:00
systemd-activate.sh systemd: don't try to restart templates 2024-06-26 18:14:48 +02:00
systemd.nix treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
wayland.nix wayland: create tray.target if xsession is not enabled (#6332) 2025-02-06 22:50:03 +01:00
xresources.nix treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
xsession.nix treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00