From d5c77fd3fb83b3f983088ff516ca3b00c08c26dd Mon Sep 17 00:00:00 2001 From: John Rodewald Date: Sun, 25 May 2025 11:46:14 +0200 Subject: [PATCH] gex: fix Darwin build `zlib` dependency was missing. --- pkgs/by-name/ge/gex/package.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/ge/gex/package.nix b/pkgs/by-name/ge/gex/package.nix index 0ecba4acd1e0..d0422f2b142c 100644 --- a/pkgs/by-name/ge/gex/package.nix +++ b/pkgs/by-name/ge/gex/package.nix @@ -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;