writeLazyPluginDir: Avoid getName call on plugin before normalization.
This commit is contained in:
parent
7e72334fec
commit
bd20996cf1
1 changed files with 3 additions and 3 deletions
|
@ -181,10 +181,10 @@ rec {
|
|||
writeLazyPluginDir =
|
||||
plugin:
|
||||
let
|
||||
# normalie plugin file name
|
||||
name = lib.replaceStrings [ "." ] [ "-" ] (helpers.getName (helpers.pluginWrapper plugin));
|
||||
normalizedPlugin = helpers.pluginNormalize plugin;
|
||||
name = lib.replaceStrings [ "." ] [ "-" ] normalizedPlugin.name;
|
||||
in
|
||||
luaUtils.writeLuaFileDir "lua/lazyWrapper/plugins/${name}" (lazyPluginFile plugin);
|
||||
luaUtils.writeLuaFileDir "lua/lazyWrapper/plugins/${name}" ''return ${luaUtils.setToLua normalizedPlugin}'';
|
||||
|
||||
/**
|
||||
Builds and configures the lazy plugin directory.
|
||||
|
|
Loading…
Reference in a new issue