diff options
author | Matthieu Coudron <mcoudron@hotmail.com> | 2021-08-30 02:05:12 +0200 |
---|---|---|
committer | Matthieu Coudron <mcoudron@hotmail.com> | 2021-08-30 10:22:17 +0200 |
commit | 3257b73c94f239de5eb67afb0e26572d4c9d69dc (patch) | |
tree | d4bfa08a76e47a64058f6ea292cbfbb40761f165 /pkgs/misc | |
parent | 0a913855a1acaf3a5525f12946ba9f700e2d3970 (diff) | |
download | nixlib-3257b73c94f239de5eb67afb0e26572d4c9d69dc.tar nixlib-3257b73c94f239de5eb67afb0e26572d4c9d69dc.tar.gz nixlib-3257b73c94f239de5eb67afb0e26572d4c9d69dc.tar.bz2 nixlib-3257b73c94f239de5eb67afb0e26572d4c9d69dc.tar.lz nixlib-3257b73c94f239de5eb67afb0e26572d4c9d69dc.tar.xz nixlib-3257b73c94f239de5eb67afb0e26572d4c9d69dc.tar.zst nixlib-3257b73c94f239de5eb67afb0e26572d4c9d69dc.zip |
vimPlugins: assign original name to pname
instead of the normalized_name. there is no need to rename the plugin ?! and it can upset packages for instance packer.nvim generates a config/nvim/plugin/packer_compiled.lua that does vim.api.nvim_command('packadd packer.nvim') which doesnt work on nixpkgs since the "packer.nvim" folder is renamed to "packer-nvim
Diffstat (limited to 'pkgs/misc')
-rwxr-xr-x | pkgs/misc/vim-plugins/update.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/misc/vim-plugins/update.py b/pkgs/misc/vim-plugins/update.py index 6f15f5dd271d..126b0d3e7d8d 100755 --- a/pkgs/misc/vim-plugins/update.py +++ b/pkgs/misc/vim-plugins/update.py @@ -66,7 +66,7 @@ class VimEditor(pluginupdate.Editor): f.write(textwrap.indent(textwrap.dedent( f""" {plugin.normalized_name} = buildVimPluginFrom2Nix {{ - pname = "{plugin.normalized_name}"; + pname = "{plugin.name}"; version = "{plugin.version}"; src = fetchFromGitHub {{ owner = "{owner}"; |