3
0
Fork 0
forked from mirrors/nixpkgs

vimUtils.buildVimPlugin: only add vimCommandCheckHook to

nativeBuildInputs when native compiling
This commit is contained in:
Nick Cao 2022-05-02 10:30:33 +08:00 committed by Matthieu Coudron
parent f2493e87d8
commit e7f619c49b

View file

@ -27,8 +27,7 @@ rec {
forceShare= [ "man" "info" ];
nativeBuildInputs = attrs.nativeBuildInputs or []
++ [ vimCommandCheckHook ]
++ lib.optional (stdenv.hostPlatform == stdenv.buildPlatform) vimGenDocHook;
++ lib.optionals (stdenv.hostPlatform == stdenv.buildPlatform) [ vimCommandCheckHook vimGenDocHook ];
inherit unpackPhase configurePhase buildPhase addonInfo preInstall postInstall;
installPhase = ''