GNUnet: optional Postgres support

Taler requires GNUnet with Postgres support.
This commit is contained in:
Emery Hemingway 2021-03-06 21:31:59 +01:00 committed by Profpatsch
parent 77efb5b850
commit caa041c44b

View file

@ -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