forked from mirrors/nixpkgs
vimUtils.buildVimPlugin: only add vimCommandCheckHook to
nativeBuildInputs when native compiling
This commit is contained in:
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 = ''
|
||||
|
|
Loading…
Reference in a new issue