1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-04-05 16:43:41 +00:00
home-manager/modules
Marien Zwart c56d3df0af
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-03-23 23:45:11 +11:00
..
accounts treewide: remove with lib (#6512) 2025-03-07 14:16:46 -06:00
config home-cursor: louder deprecation 2025-03-12 09:51:58 -05:00
files files: make collision error message more helpful 2024-04-30 00:41:45 +02:00
i18n/input-method im/fcitx5: use home.sessionSearchVariables for QT_PLUGIN_PATH 2025-03-09 09:36:41 -05:00
launchd launchd: sync up with changes from nix-darwin (#6508) 2025-02-27 17:38:18 -06:00
lib onlyoffice: add module (#6667) 2025-03-20 11:34:43 -05:00
lib-bash home-manager: move profile management 2025-01-03 11:22:59 +01:00
misc treewide: zsh initExtra -> initContent 2025-03-22 13:46:42 -05:00
po Translate using Weblate (Chinese (Traditional Han script)) (#6581) 2025-03-09 00:41:38 -06:00
programs fish: keep all fish-completions packages around 2025-03-23 23:45:11 +11:00
services skhd: add module (#6682) 2025-03-22 22:49:54 -05:00
targets targets/generic-linux: use home.sessionSearchVariables for XCURSOR_PATH 2025-03-09 09:36:41 -05:00
default.nix treewide: remove with lib (#6512) 2025-03-07 14:16:46 -06:00
files.nix treewide: remove with lib (#6512) 2025-03-07 14:16:46 -06:00
home-environment.nix home-environment: add home.extraDependencies 2025-03-23 23:45:07 +11:00
manual.nix treewide: remove with lib (#6512) 2025-03-07 14:16:46 -06:00
modules.nix skhd: add module (#6682) 2025-03-22 22:49:54 -05:00
systemd-activate.sh systemd: don't try to restart templates 2024-06-26 18:14:48 +02:00
systemd.nix systemd: use sd-switch by default 2025-01-01 16:31:32 +01:00
wayland.nix wayland: create tray.target if xsession is not enabled (#6332) 2025-02-06 22:50:03 +01:00
xresources.nix treewide: remove with lib (#6512) 2025-03-07 14:16:46 -06:00
xsession.nix treewide: remove with lib (#6512) 2025-03-07 14:16:46 -06:00