neovide: only require libtool on darwin

(cherry picked from commit a9bd18d88d)
This commit is contained in:
Noa Aarts 2024-11-15 23:02:07 +01:00 committed by github-actions[bot]
parent 24810c69e2
commit 4954729a0c

View File

@ -64,13 +64,16 @@ rustPlatform.buildRustPackage.override { stdenv = clangStdenv; } rec {
SKIA_GN_COMMAND = "${gn}/bin/gn";
SKIA_NINJA_COMMAND = "${ninja}/bin/ninja";
nativeBuildInputs = [
cctools.libtool
makeWrapper
pkg-config
python3 # skia
removeReferencesTo
];
nativeBuildInputs =
[
makeWrapper
pkg-config
python3 # skia
removeReferencesTo
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
cctools.libtool
];
nativeCheckInputs = [ neovim ];