diff options
author | Emery Hemingway <ehmry@posteo.net> | 2021-03-06 21:31:59 +0100 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2021-05-23 19:50:32 +0200 |
commit | caa041c44ba2ecd600719411359097792c2744e1 (patch) | |
tree | 59cb2a79f7125cbf80daec349762a0abe833bb43 /pkgs/applications/networking/p2p/gnunet/default.nix | |
parent | 77efb5b850c6234326ea2ef8e041935f202a1e88 (diff) |
GNUnet: optional Postgres support
Taler requires GNUnet with Postgres support.
Diffstat (limited to 'pkgs/applications/networking/p2p/gnunet/default.nix')
-rw-r--r-- | pkgs/applications/networking/p2p/gnunet/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/applications/networking/p2p/gnunet/default.nix b/pkgs/applications/networking/p2p/gnunet/default.nix index 61ff16429783a..c1ba42a5e6d31 100644 --- a/pkgs/applications/networking/p2p/gnunet/default.nix +++ b/pkgs/applications/networking/p2p/gnunet/default.nix @@ -1,7 +1,9 @@ { lib, stdenv, fetchurl, adns, curl, gettext, gmp, gnutls, libextractor , libgcrypt, libgnurl, libidn, libmicrohttpd, libtool, libunistring , makeWrapper, ncurses, pkg-config, libxml2, sqlite, zlib -, libpulseaudio, libopus, libogg, jansson, libsodium }: +, libpulseaudio, libopus, libogg, jansson, libsodium + +, postgresqlSupport ? false, postgresql }: stdenv.mkDerivation rec { pname = "gnunet"; @@ -19,7 +21,7 @@ stdenv.mkDerivation rec { adns curl gmp gnutls libextractor libgcrypt libgnurl libidn libmicrohttpd libunistring libxml2 ncurses gettext libsodium sqlite zlib libpulseaudio libopus libogg jansson - ]; + ] ++ lib.optional postgresqlSupport postgresql; preConfigure = '' # Brute force: since nix-worker chroots don't provide |