From 715737b3ac2f6ca2aeb63ec147757790f4048af2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Wed, 11 Jul 2012 20:07:00 +0200 Subject: [PATCH] gnunet: removing gtk dependencies gnunet does not depend anymore on gtk. There is a separate package, gnunet-gtk, still not in nixpkgs. --- pkgs/applications/networking/p2p/gnunet/default.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pkgs/applications/networking/p2p/gnunet/default.nix b/pkgs/applications/networking/p2p/gnunet/default.nix index 5214c294b82..f2fbf704649 100644 --- a/pkgs/applications/networking/p2p/gnunet/default.nix +++ b/pkgs/applications/networking/p2p/gnunet/default.nix @@ -1,11 +1,8 @@ { stdenv, fetchurl, libextractor, libmicrohttpd, libgcrypt , zlib, gmp, curl, libtool, adns, sqlite, pkgconfig , libxml2, ncurses, gettext, libunistring -, gtkSupport ? false, gtk ? null, libglade ? null , makeWrapper }: -assert gtkSupport -> (gtk != null) && (libglade != null); - stdenv.mkDerivation rec { name = "gnunet-0.9.3"; @@ -18,7 +15,7 @@ stdenv.mkDerivation rec { libextractor libmicrohttpd libgcrypt gmp curl libtool zlib adns sqlite libxml2 ncurses pkgconfig gettext libunistring makeWrapper - ] ++ (if gtkSupport then [ gtk libglade ] else []); + ]; preConfigure = '' # Brute force: since nix-worker chroots don't provide