Skip to content

Commit

Permalink
gitstatus: link with libiconv on darwin (#351546)
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored Oct 27, 2024
2 parents 8a13379 + 97b3156 commit cae0fd4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/applications/version-management/gitstatus/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ''
Expand Down

0 comments on commit cae0fd4

Please sign in to comment.