1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00

git-worktree-switcher: use cfg.package

This commit is contained in:
Aguirre Matteo 2025-09-28 19:48:34 -03:00 committed by Austin Horstman
parent 6ee8473173
commit 50375df1f7

View file

@ -14,11 +14,11 @@ let
shell: shell:
if (shell == "fish") then if (shell == "fish") then
'' ''
${lib.getExe pkgs.git-worktree-switcher} init ${shell} | source ${lib.getExe cfg.package} init ${shell} | source
'' ''
else else
'' ''
eval "$(${lib.getExe pkgs.git-worktree-switcher} init ${shell})" eval "$(${lib.getExe cfg.package} init ${shell})"
''; '';
in in
{ {