Skip to content

Commit

Permalink
whois: link libiconv on Darwin (#346966)
Browse files Browse the repository at this point in the history
  • Loading branch information
emilazy authored Oct 7, 2024
2 parents a8208e7 + 7638951 commit a73ccf2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/tools/networking/whois/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ stdenv.mkDerivation rec {
})
];

env = lib.optionalAttrs stdenv.hostPlatform.isDarwin {
# whois fails to link libiconv on Darwin.
NIX_LDFLAGS = "-liconv";
};

nativeBuildInputs = [ perl gettext pkg-config ];
buildInputs = [ libidn2 libiconv ];

Expand Down

0 comments on commit a73ccf2

Please sign in to comment.