From cd5705dd9eaee297f4fa2b7bb5bcdf9528da1598 Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Wed, 14 Oct 2026 13:47:52 -0500 Subject: [PATCH] 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. --- docs/release-notes/rl-2611.md | 6 +++++ .../misc/news/2026/10/2026-10-14_13-45-57.nix | 24 +++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 modules/misc/news/2026/10/2026-10-14_13-45-57.nix diff --git a/docs/release-notes/rl-2611.md b/docs/release-notes/rl-2611.md index ac2cb675e4..8a5d605e57 100644 --- a/docs/release-notes/rl-2611.md +++ b/docs/release-notes/rl-2611.md @@ -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 diff --git a/modules/misc/news/2026/10/2026-10-14_13-45-57.nix b/modules/misc/news/2026/10/2026-10-14_13-45-57.nix new file mode 100644 index 0000000000..086323daaa --- /dev/null +++ b/modules/misc/news/2026/10/2026-10-14_13-45-57.nix @@ -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. + ''; +}