gex: fix Darwin build

`zlib` dependency was missing.
This commit is contained in:
John Rodewald
2025-05-26 07:45:20 +02:00
parent ca4c53c520
commit d5c77fd3fb
+3 -1
View File
@@ -5,6 +5,8 @@
pkg-config,
libgit2,
nix-update-script,
zlib,
stdenv,
}:
rustPlatform.buildRustPackage rec {
@@ -24,7 +26,7 @@ rustPlatform.buildRustPackage rec {
buildInputs = [
libgit2
];
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ zlib ];
env = {
LIBGIT2_NO_VENDOR = 1;