vimPlugins.vim-utils: execute check and doc generation in cross compilation when host can execute the arch

This commit is contained in:
Sandro Jäckel
2023-09-12 17:04:09 +02:00
parent 171c91cd9c
commit 938de2ab1d
@@ -418,7 +418,7 @@ rec {
forceShare = [ "man" "info" ];
nativeBuildInputs = oldAttrs.nativeBuildInputs or []
++ lib.optionals (stdenv.hostPlatform == stdenv.buildPlatform) [
++ lib.optionals (stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
vimCommandCheckHook vimGenDocHook
# many neovim plugins keep using buildVimPlugin
neovimRequireCheckHook