fixup: use lib.optional instead of lib.mkIf
This commit is contained in:
parent
23fce1be6c
commit
3463a6c419
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@
|
|||
buildPlugin = name: vimUtils.buildVimPluginFrom2Nix {
|
||||
name = name;
|
||||
src = getAttr name inputs;
|
||||
patches = lib.mkIf
|
||||
patches = lib.optional
|
||||
(pathExists ./patches/${name})
|
||||
(map
|
||||
(fn: ./patches/${name}/${fn})
|
||||
|
|
Reference in a new issue