mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-09 03:56:05 +01:00
lib/plugins: infer packPathName
Signed-off-by: saygo-png <saygo.mail@proton.me>
This commit is contained in:
parent
c4b27080a6
commit
4cec67651a
3 changed files with 12 additions and 13 deletions
|
|
@ -35,7 +35,7 @@
|
|||
mkPluginPackageModule =
|
||||
{
|
||||
loc,
|
||||
packPathName,
|
||||
name,
|
||||
package,
|
||||
}:
|
||||
# Return a module
|
||||
|
|
@ -49,7 +49,7 @@
|
|||
if lib.isOption package then
|
||||
package
|
||||
else
|
||||
lib.mkPackageOption pkgs packPathName {
|
||||
lib.mkPackageOption pkgs name {
|
||||
default =
|
||||
if builtins.isList package then
|
||||
package
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue