diff --git a/pkgs/by-name/ba/bat/package.nix b/pkgs/by-name/ba/bat/package.nix index 2084af6469fa..d40bc370aeee 100644 --- a/pkgs/by-name/ba/bat/package.nix +++ b/pkgs/by-name/ba/bat/package.nix @@ -5,10 +5,9 @@ fetchFromGitHub, pkg-config, less, - libiconv, installShellFiles, makeWrapper, - apple-sdk_11, + zlib, }: rustPlatform.buildRustPackage rec { @@ -29,9 +28,8 @@ rustPlatform.buildRustPackage rec { makeWrapper ]; - buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ - libiconv - apple-sdk_11 + buildInputs = [ + zlib ]; postInstall = ''