whois: link libiconv on Darwin
This commit is contained in:
parent
c31898adf5
commit
7638951545
@ -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 ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user