gitstatus: link with libiconv on darwin (#351546)

This commit is contained in:
Sandro 2024-10-27 11:50:22 +01:00 committed by GitHub
commit cae0fd41a2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 = ''