Adding verboseness option to gnunet

This commit is contained in:
Lluís Batlle i Rossell 2013-07-08 21:38:08 +02:00
parent a2600b7bc3
commit 42ee481f5d

View File

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