mirror of
https://github.com/nix-community/home-manager.git
synced 2026-12-06 04:40:17 +00:00
fzf: document shell integration package requirements
Custom executable-only packages must retain the shipped integration scripts when shell initialization sources them directly. Describe that migration in targeted activation news and the upcoming release notes.
This commit is contained in:
@@ -7,6 +7,12 @@ section is therefore not final.
|
||||
|
||||
This release has the following notable changes:
|
||||
|
||||
- fzf shell integrations now source packaged scripts instead of running fzf
|
||||
to generate them. Custom [](#opt-programs.fzf.package) values must include
|
||||
the integration scripts under `share/fzf` for the enabled shells. Wrappers
|
||||
must preserve that directory alongside the executable, or use the default
|
||||
package, which already includes these files.
|
||||
|
||||
- The [](#opt-programs.uv) module can now install uv-managed Python
|
||||
versions and tools through the new `programs.uv.python.versions`,
|
||||
`programs.uv.python.default`, and `programs.uv.tool.packages` options. Unpinned
|
||||
|
||||
24
modules/misc/news/2026/10/2026-10-14_13-45-57.nix
Normal file
24
modules/misc/news/2026/10/2026-10-14_13-45-57.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
{ config, ... }:
|
||||
let
|
||||
cfg = config.programs.fzf;
|
||||
in
|
||||
{
|
||||
time = "2026-10-14T18:45:57+00:00";
|
||||
condition =
|
||||
cfg.enable
|
||||
&& (
|
||||
(config.programs.bash.enable && cfg.enableBashIntegration)
|
||||
|| (config.programs.fish.enable && cfg.enableFishIntegration)
|
||||
|| (config.programs.nushell.enable && cfg.enableNushellIntegration)
|
||||
|| (config.programs.zsh.enable && cfg.enableZshIntegration)
|
||||
);
|
||||
message = ''
|
||||
fzf shell integrations now load scripts from `programs.fzf.package`
|
||||
instead of running fzf to generate them.
|
||||
|
||||
Custom packages must include the integration scripts under `share/fzf`
|
||||
for the enabled shells. If you wrap fzf, preserve that directory alongside
|
||||
the executable, or use the default package. The default package already
|
||||
includes these files and needs no configuration change.
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user