bat: unvendor zlib; fix darwin

bat fails with
> error: failed to run custom build command for `libz-sys v1.1.8`
due to the vendored libz failing to build with clang-19

the apple-sdk_11 can also be removed as that is now the default for both
darwin x64 and aarch64
This commit is contained in:
Reno Dakota
2024-12-16 15:12:05 -08:00
parent b5673d9e62
commit 2ae4f94054
+3 -5
View File
@@ -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 = ''