neovide: only require libtool on darwin

This commit is contained in:
Noa Aarts 2024-11-15 23:02:07 +01:00
parent eb6e8e8081
commit a9bd18d88d
No known key found for this signature in database
GPG Key ID: 1850932741EFF672

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 ];