Skip to content

Commit a9bd18d

Browse files
committed
neovide: only require libtool on darwin
1 parent eb6e8e8 commit a9bd18d

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

pkgs/by-name/ne/neovide/package.nix

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,16 @@ rustPlatform.buildRustPackage.override { stdenv = clangStdenv; } rec {
6464
SKIA_GN_COMMAND = "${gn}/bin/gn";
6565
SKIA_NINJA_COMMAND = "${ninja}/bin/ninja";
6666

67-
nativeBuildInputs = [
68-
cctools.libtool
69-
makeWrapper
70-
pkg-config
71-
python3 # skia
72-
removeReferencesTo
73-
];
67+
nativeBuildInputs =
68+
[
69+
makeWrapper
70+
pkg-config
71+
python3 # skia
72+
removeReferencesTo
73+
]
74+
++ lib.optionals stdenv.hostPlatform.isDarwin [
75+
cctools.libtool
76+
];
7477

7578
nativeCheckInputs = [ neovim ];
7679

0 commit comments

Comments
 (0)