gnutls: Pass `--with-libnettle-prefix' on OpenIndiana.

Suggested by Mats Erik Andersson <gnu@gisladisker.se>.
This commit is contained in:
Ludovic Courtès 2012-08-30 18:07:11 +02:00
parent 410ba4ee20
commit 96f76db396

View File

@ -12,6 +12,7 @@ stdenv.mkDerivation (rec {
sha256 = "1pp90fm27qi5cd0pq18xcmnl79xcbfwxc54bg1xi1wv0vryqdpcr";
};
# FIXME: Turn into a Nix list.
configurePhase = ''
./configure --prefix="$out" \
--disable-dependency-tracking --enable-fast-install \
@ -19,6 +20,8 @@ stdenv.mkDerivation (rec {
--with-lzo --with-libtasn1-prefix="${libtasn1}" \
${if guileBindings
then "--enable-guile --with-guile-site-dir=\"$out/share/guile/site\""
else ""}${if stdenv.isSunOS # TODO: this for all platforms
then " --with-libnettle-prefix=${nettle}"
else ""}
'';