mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
gnutls: Pass `--with-libnettle-prefix' on OpenIndiana.
Suggested by Mats Erik Andersson <gnu@gisladisker.se>.
This commit is contained in:
parent
410ba4ee20
commit
96f76db396
1 changed files with 3 additions and 0 deletions
|
@ -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 ""}
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue