mirror of
https://github.com/nix-community/home-manager.git
synced 2026-08-26 01:33:59 +00:00
zsh: make the package option nullable
This commit is contained in:
committed by
Matthieu Coudron
parent
b48c26361a
commit
fb4e41e486
@@ -602,7 +602,11 @@ in
|
||||
fpath+=($profile/share/zsh/site-functions $profile/share/zsh/$ZSH_VERSION/functions $profile/share/zsh/vendor-completions)
|
||||
done
|
||||
'')
|
||||
(lib.mkIf (cfg.package != null) (mkOrder 520 "HELPDIR=${cfg.package}/share/zsh/$ZSH_VERSION/help"))
|
||||
(lib.mkIf (cfg.package != null) (
|
||||
mkOrder 520 ''
|
||||
HELPDIR="${cfg.package}/share/zsh/$ZSH_VERSION/help"
|
||||
''
|
||||
))
|
||||
|
||||
(lib.mkIf (cfg.defaultKeymap != null) (
|
||||
mkOrder 530 ''
|
||||
|
||||
Reference in New Issue
Block a user