gex: fix Darwin build (#410749)

This commit is contained in:
Alexis Hildebrandt
2025-06-05 21:52:02 +02:00
committed by GitHub
+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;