mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-11 15:08:33 +01:00
vimUtils.buildVimPlugin: fix cross compiles
generating docs requires executing the vim binary
This commit is contained in:
parent
e13d27929c
commit
b95e501450
|
@ -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…
Reference in a new issue