From 97b3156f6320c8e42f45ea9a62565bc2d0fe6b80 Mon Sep 17 00:00:00 2001 From: zowoq <59103226+zowoq@users.noreply.github.com> Date: Sun, 27 Oct 2024 11:25:11 +1000 Subject: [PATCH] gitstatus: link with libiconv on darwin https://hydra.nixos.org/build/276133321/nixlog/2 --- pkgs/applications/version-management/gitstatus/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/applications/version-management/gitstatus/default.nix b/pkgs/applications/version-management/gitstatus/default.nix index 2170526c4ec58..cc6037d16c214 100644 --- a/pkgs/applications/version-management/gitstatus/default.nix +++ b/pkgs/applications/version-management/gitstatus/default.nix @@ -18,6 +18,10 @@ stdenv.mkDerivation rec { sha256 = "sha256-b+9bwJ87VV6rbOPobkwMkDXGH34STjYPlt8wCRR5tEc="; }; + env = lib.optionalAttrs stdenv.hostPlatform.isDarwin { + NIX_LDFLAGS = "-liconv"; + }; + buildInputs = [ (callPackage ./romkatv_libgit2.nix { }) ]; postPatch = ''