gnutls: Pass `--with-libnettle-prefix' on OpenIndiana.
Suggested by Mats Erik Andersson <gnu@gisladisker.se>.
This commit is contained in:
parent
410ba4ee20
commit
96f76db396
@ -12,6 +12,7 @@ stdenv.mkDerivation (rec {
|
|||||||
sha256 = "1pp90fm27qi5cd0pq18xcmnl79xcbfwxc54bg1xi1wv0vryqdpcr";
|
sha256 = "1pp90fm27qi5cd0pq18xcmnl79xcbfwxc54bg1xi1wv0vryqdpcr";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# FIXME: Turn into a Nix list.
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
./configure --prefix="$out" \
|
./configure --prefix="$out" \
|
||||||
--disable-dependency-tracking --enable-fast-install \
|
--disable-dependency-tracking --enable-fast-install \
|
||||||
@ -19,6 +20,8 @@ stdenv.mkDerivation (rec {
|
|||||||
--with-lzo --with-libtasn1-prefix="${libtasn1}" \
|
--with-lzo --with-libtasn1-prefix="${libtasn1}" \
|
||||||
${if guileBindings
|
${if guileBindings
|
||||||
then "--enable-guile --with-guile-site-dir=\"$out/share/guile/site\""
|
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 ""}
|
else ""}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user