gitstatus: link with libiconv on darwin

https://hydra.nixos.org/build/276133321/nixlog/2
This commit is contained in:
zowoq 2024-10-27 11:25:11 +10:00
parent f7650608a4
commit 97b3156f63

View File

@ -18,6 +18,10 @@ stdenv.mkDerivation rec {
sha256 = "sha256-b+9bwJ87VV6rbOPobkwMkDXGH34STjYPlt8wCRR5tEc="; sha256 = "sha256-b+9bwJ87VV6rbOPobkwMkDXGH34STjYPlt8wCRR5tEc=";
}; };
env = lib.optionalAttrs stdenv.hostPlatform.isDarwin {
NIX_LDFLAGS = "-liconv";
};
buildInputs = [ (callPackage ./romkatv_libgit2.nix { }) ]; buildInputs = [ (callPackage ./romkatv_libgit2.nix { }) ];
postPatch = '' postPatch = ''