vimUtils.buildVimPlugin: only add vimCommandCheckHook to
nativeBuildInputs when native compiling
This commit is contained in:
committed by
Matthieu Coudron
parent
f2493e87d8
commit
e7f619c49b
@@ -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 = ''
|
||||
|
||||
Reference in New Issue
Block a user