libmicrohttpd: fix darwin build
This commit is contained in:
parent
43b7e69d13
commit
547dba10c0
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, libgcrypt, curl, gnutls, pkgconfig }:
|
{ stdenv, fetchurl, libgcrypt, curl, gnutls, pkgconfig, libiconv, libintlOrEmpty }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libmicrohttpd-0.9.55";
|
name = "libmicrohttpd-0.9.55";
|
||||||
|
@ -9,7 +9,8 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "out" "dev" "devdoc" "info" ];
|
outputs = [ "out" "dev" "devdoc" "info" ];
|
||||||
buildInputs = [ libgcrypt curl gnutls pkgconfig ];
|
buildInputs = [ libgcrypt curl gnutls pkgconfig ]
|
||||||
|
++ stdenv.lib.optionals stdenv.isDarwin [ libiconv libintlOrEmpty ];
|
||||||
|
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
# Since `localhost' can't be resolved in a chroot, work around it.
|
# Since `localhost' can't be resolved in a chroot, work around it.
|
||||||
|
@ -32,6 +33,7 @@ stdenv.mkDerivation rec {
|
||||||
homepage = http://www.gnu.org/software/libmicrohttpd/;
|
homepage = http://www.gnu.org/software/libmicrohttpd/;
|
||||||
|
|
||||||
maintainers = with maintainers; [ eelco vrthra fpletz ];
|
maintainers = with maintainers; [ eelco vrthra fpletz ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue