about summary refs log tree commit diff
path: root/pkgs/applications/altcoins/bitcoin-unlimited.nix
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2018-04-21 20:06:36 +0100
committerJörg Thalheim <joerg@thalheim.io>2018-04-22 10:54:55 +0100
commit46425a65ac4df2010f9ad1c94f03e4cf95139891 (patch)
treeef2da3f695e6ea3bd6b088ae7312250638d73e90 /pkgs/applications/altcoins/bitcoin-unlimited.nix
parentdc0653f54f968ec4b362b3aec4db8d0dd426aeb3 (diff)
downloadnixlib-46425a65ac4df2010f9ad1c94f03e4cf95139891.tar
nixlib-46425a65ac4df2010f9ad1c94f03e4cf95139891.tar.gz
nixlib-46425a65ac4df2010f9ad1c94f03e4cf95139891.tar.bz2
nixlib-46425a65ac4df2010f9ad1c94f03e4cf95139891.tar.lz
nixlib-46425a65ac4df2010f9ad1c94f03e4cf95139891.tar.xz
nixlib-46425a65ac4df2010f9ad1c94f03e4cf95139891.tar.zst
nixlib-46425a65ac4df2010f9ad1c94f03e4cf95139891.zip
bitcoin-{unlimited,xt}: fix darwin
Diffstat (limited to 'pkgs/applications/altcoins/bitcoin-unlimited.nix')
-rw-r--r--pkgs/applications/altcoins/bitcoin-unlimited.nix10
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/applications/altcoins/bitcoin-unlimited.nix b/pkgs/applications/altcoins/bitcoin-unlimited.nix
index d9040377ebe3..5a67dc565aa7 100644
--- a/pkgs/applications/altcoins/bitcoin-unlimited.nix
+++ b/pkgs/applications/altcoins/bitcoin-unlimited.nix
@@ -1,6 +1,7 @@
 { stdenv, fetchFromGitHub, pkgconfig, autoreconfHook, openssl, db48, boost
 , zlib, miniupnpc, qt4, utillinux, protobuf, qrencode, libevent
-, withGui }:
+, withGui
+, Foundation, ApplicationServices, AppKit }:
 
 with stdenv.lib;
 
@@ -19,7 +20,8 @@ stdenv.mkDerivation rec {
   nativeBuildInputs = [ pkgconfig autoreconfHook ];
   buildInputs = [ openssl db48 boost zlib
                   miniupnpc utillinux protobuf libevent ]
-                  ++ optionals withGui [ qt4 qrencode ];
+                  ++ optionals withGui [ qt4 qrencode ]
+                  ++ optionals stdenv.isDarwin [ Foundation ApplicationServices AppKit ];
 
   patches = [
     ./bitcoin-unlimited-const-comparators.patch
@@ -36,7 +38,7 @@ stdenv.mkDerivation rec {
       completely decentralized, without the need for a central server or trusted
       parties. Users hold the crypto keys to their own money and transact directly
       with each other, with the help of a P2P network to check for double-spending.
-      
+
       The Bitcoin Unlimited (BU) project seeks to provide a voice to all
       stakeholders in the Bitcoin ecosystem.
 
@@ -55,7 +57,7 @@ stdenv.mkDerivation rec {
 
       If you support an increase in the blocksize limit by any means - or just
       support Bitcoin conflict resolution as originally envisioned by its founder -
-      consider running a Bitcoin Unlimited client.      
+      consider running a Bitcoin Unlimited client.
     '';
     homepage = https://www.bitcoinunlimited.info/;
     maintainers = with maintainers; [ DmitryTsygankov ];