buildLuaPlugin: convert the addRtp call

since it was breaking overrideAttrs.
main
Matthieu Coudron 2 years ago
parent 0dbca90d41
commit da8a322e73
  1. 7
      pkgs/applications/editors/vim/plugins/build-vim-plugin.nix

@ -20,7 +20,7 @@ rec {
addonInfo ? null, addonInfo ? null,
... ...
}: }:
(stdenv.mkDerivation (attrs // { let drv = stdenv.mkDerivation (attrs // {
name = namePrefix + name; name = namePrefix + name;
# dont move the doc folder since vim expects it # dont move the doc folder since vim expects it
@ -40,7 +40,10 @@ rec {
runHook postInstall runHook postInstall
''; '';
})); });
in drv.overrideAttrs(oa: {
rtp = "${drv}";
});
buildVimPluginFrom2Nix = attrs: buildVimPlugin ({ buildVimPluginFrom2Nix = attrs: buildVimPlugin ({
# vim plugins may override this # vim plugins may override this

Loading…
Cancel
Save