diff options
author | Ludovic Courtès <ludo@gnu.org> | 2012-08-30 18:07:11 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2012-08-30 18:07:11 +0200 |
commit | 96f76db3960445fcbf99484304e22b2b7810d95c (patch) | |
tree | 960636346412f395342a80877ba879207de69388 /pkgs/development/libraries/gnutls/default.nix | |
parent | 410ba4ee200ae7e3aafafe6a02f0bbd779f920d7 (diff) | |
download | nixpkgs-96f76db3960445fcbf99484304e22b2b7810d95c.tar nixpkgs-96f76db3960445fcbf99484304e22b2b7810d95c.tar.gz nixpkgs-96f76db3960445fcbf99484304e22b2b7810d95c.tar.bz2 nixpkgs-96f76db3960445fcbf99484304e22b2b7810d95c.tar.lz nixpkgs-96f76db3960445fcbf99484304e22b2b7810d95c.tar.xz nixpkgs-96f76db3960445fcbf99484304e22b2b7810d95c.tar.zst nixpkgs-96f76db3960445fcbf99484304e22b2b7810d95c.zip |
gnutls: Pass `--with-libnettle-prefix' on OpenIndiana.
Suggested by Mats Erik Andersson <gnu@gisladisker.se>.
Diffstat (limited to 'pkgs/development/libraries/gnutls/default.nix')
-rw-r--r-- | pkgs/development/libraries/gnutls/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/libraries/gnutls/default.nix b/pkgs/development/libraries/gnutls/default.nix index b8f88c6f5b8..961387012c6 100644 --- a/pkgs/development/libraries/gnutls/default.nix +++ b/pkgs/development/libraries/gnutls/default.nix @@ -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 ""} ''; |