diff options
author | Matthieu Coudron <mcoudron@hotmail.com> | 2022-05-11 11:31:47 +0200 |
---|---|---|
committer | Matthieu Coudron <mcoudron@hotmail.com> | 2022-05-11 12:08:14 +0200 |
commit | da8a322e7314ec27f24b50304bf5b0fe1f0c9897 (patch) | |
tree | 0fb369a2374cb9257347963db2fb63af73580a8b /pkgs/applications/editors | |
parent | 0dbca90d4129b6c4296b66899fd2750584b24c4f (diff) |
buildLuaPlugin: convert the addRtp call
since it was breaking overrideAttrs.
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r-- | pkgs/applications/editors/vim/plugins/build-vim-plugin.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/applications/editors/vim/plugins/build-vim-plugin.nix b/pkgs/applications/editors/vim/plugins/build-vim-plugin.nix index 9dc5344ed2852..4773cfb9e43e4 100644 --- a/pkgs/applications/editors/vim/plugins/build-vim-plugin.nix +++ b/pkgs/applications/editors/vim/plugins/build-vim-plugin.nix @@ -20,7 +20,7 @@ rec { addonInfo ? null, ... }: - (stdenv.mkDerivation (attrs // { + let drv = stdenv.mkDerivation (attrs // { name = namePrefix + name; # dont move the doc folder since vim expects it @@ -40,7 +40,10 @@ rec { runHook postInstall ''; - })); + }); + in drv.overrideAttrs(oa: { + rtp = "${drv}"; + }); buildVimPluginFrom2Nix = attrs: buildVimPlugin ({ # vim plugins may override this |