[staging-next] bat: unvendor zlib; fix darwin (#365729)

This commit is contained in:
Sandro
2024-12-18 22:41:04 +01:00
committed by GitHub
+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 = ''