From 4954729a0c07c37cc544a3a091e55fb4b384b414 Mon Sep 17 00:00:00 2001 From: Noa Aarts Date: Fri, 15 Nov 2024 23:02:07 +0100 Subject: [PATCH] neovide: only require libtool on darwin (cherry picked from commit a9bd18d88d6b5e014b82d8f83a51cd22c67f0eab) --- pkgs/by-name/ne/neovide/package.nix | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/pkgs/by-name/ne/neovide/package.nix b/pkgs/by-name/ne/neovide/package.nix index f2d29044ad4f..f8a33a9a4597 100644 --- a/pkgs/by-name/ne/neovide/package.nix +++ b/pkgs/by-name/ne/neovide/package.nix @@ -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 ];