vimUtils.buildVimPlugin: fix cross compiles

generating docs requires executing the vim binary
main
arcnmx 3 years ago
parent e13d27929c
commit b95e501450
  1. 3
      pkgs/misc/vim-plugins/build-vim-plugin.nix

@ -29,7 +29,8 @@ rec {
# dont move the doc folder since vim expects it
forceShare= [ "man" "info" ];
nativeBuildInputs = attrs.nativeBuildInputs or [] ++ [ vimGenDocHook ];
nativeBuildInputs = attrs.nativeBuildInputs or []
++ lib.optional (stdenv.hostPlatform == stdenv.buildPlatform) vimGenDocHook;
inherit unpackPhase configurePhase buildPhase addonInfo preInstall postInstall;
installPhase = ''

Loading…
Cancel
Save