gex: fix Darwin build (#410749)

authored by

Alexis Hildebrandt and committed by
GitHub
b95aaded de811097

+3 -1
+3 -1
pkgs/by-name/ge/gex/package.nix
··· 5 5 pkg-config, 6 6 libgit2, 7 7 nix-update-script, 8 + zlib, 9 + stdenv, 8 10 }: 9 11 10 12 rustPlatform.buildRustPackage rec { ··· 24 26 25 27 buildInputs = [ 26 28 libgit2 27 - ]; 29 + ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ zlib ]; 28 30 29 31 env = { 30 32 LIBGIT2_NO_VENDOR = 1;