From 42ee481f5df5866d31cf27259a0dde571c2c1bd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Mon, 8 Jul 2013 21:38:08 +0200 Subject: [PATCH] Adding verboseness option to gnunet --- pkgs/applications/networking/p2p/gnunet/svn.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/networking/p2p/gnunet/svn.nix b/pkgs/applications/networking/p2p/gnunet/svn.nix index b6b9db99f90..cb776201a1d 100644 --- a/pkgs/applications/networking/p2p/gnunet/svn.nix +++ b/pkgs/applications/networking/p2p/gnunet/svn.nix @@ -1,7 +1,8 @@ { stdenv, fetchsvn, libextractor, libmicrohttpd, libgcrypt , zlib, gmp, curl, libtool, adns, sqlite, pkgconfig , libxml2, ncurses, gettext, libunistring, libidn -, makeWrapper, autoconf, automake }: +, makeWrapper, autoconf, automake +, withVerbose ? false }: let rev = "27775"; @@ -22,6 +23,8 @@ stdenv.mkDerivation rec { autoconf automake ]; + configureFlags = stdenv.lib.optional withVerbose "--enable-logging=verbose "; + preConfigure = '' # Brute force: since nix-worker chroots don't provide # /etc/{resolv.conf,hosts}, replace all references to `localhost'