about summary refs log tree commit diff
path: root/pkgs/tools/networking/p2p/amule/default.nix
diff options
context:
space:
mode:
authorPascal Wittmann <mail@pascal-wittmann.de>2016-03-21 21:28:19 +0100
committerPascal Wittmann <mail@pascal-wittmann.de>2016-03-21 21:29:39 +0100
commit806f71370c1f966b77b7bee7fe109ca8acfcb381 (patch)
tree861050eb3c937731f174ee2cee5733385bde41fb /pkgs/tools/networking/p2p/amule/default.nix
parent1a9b272c0946ff1d30bba0effb949d5e16dcf5c4 (diff)
amuleGui: fix build
See #13559
Diffstat (limited to 'pkgs/tools/networking/p2p/amule/default.nix')
-rw-r--r--pkgs/tools/networking/p2p/amule/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/tools/networking/p2p/amule/default.nix b/pkgs/tools/networking/p2p/amule/default.nix
index 45a7392475848..d091af6244633 100644
--- a/pkgs/tools/networking/p2p/amule/default.nix
+++ b/pkgs/tools/networking/p2p/amule/default.nix
@@ -3,9 +3,10 @@
 , httpServer ? false # build web interface for the daemon
 , client ? false # build amule remote gui
 , fetchurl, stdenv, zlib, wxGTK, perl, cryptopp, libupnp, gettext, libpng ? null
-, pkgconfig, makeWrapper }:
+, pkgconfig, makeWrapper, libX11 ? null }:
 
 assert httpServer -> libpng != null;
+assert client -> libX11 != null;
 with stdenv;
 let
   # Enable/Disable Feature
@@ -21,7 +22,8 @@ mkDerivation rec {
 
   buildInputs =
     [ zlib wxGTK perl cryptopp libupnp gettext pkgconfig makeWrapper ]
-    ++ lib.optional httpServer libpng;
+    ++ lib.optional httpServer libpng
+    ++ lib.optional client libX11;
 
   patches = [ ./gcc47.patch ]; # from Gentoo