summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/blockchains/bitcoin.nix
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2020-01-25 00:00:00 -0500
committerMario Rodas <marsam@users.noreply.github.com>2020-01-25 00:00:00 -0500
commitd47671b9f6a826e00d88e6e9f107ad0a28e09b8c (patch)
treeb51999db37c216739017dcb8ca2263e3b5b71f4a /pkgs/applications/blockchains/bitcoin.nix
parentf56ca2599d9f7ea9b7cae2a97f6cce41d96b664e (diff)
bitcoin: fix build on darwin
Diffstat (limited to 'pkgs/applications/blockchains/bitcoin.nix')
-rw-r--r--pkgs/applications/blockchains/bitcoin.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/applications/blockchains/bitcoin.nix b/pkgs/applications/blockchains/bitcoin.nix
index 2fa8ea6467c1..c1143f898e28 100644
--- a/pkgs/applications/blockchains/bitcoin.nix
+++ b/pkgs/applications/blockchains/bitcoin.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, pkgconfig, autoreconfHook, openssl, db48, boost, zeromq, rapidcheck
+{ stdenv, fetchurl, pkgconfig, autoreconfHook, openssl, db48, boost, zeromq, rapidcheck, hexdump
, zlib, miniupnpc, qtbase ? null, qttools ? null, wrapQtAppsHook ? null, utillinux, python3, qrencode, libevent
, withGui }:
@@ -31,6 +31,7 @@ in stdenv.mkDerivation rec {
nativeBuildInputs =
[ pkgconfig autoreconfHook ]
+ ++ optional stdenv.isDarwin hexdump
++ optional withGui wrapQtAppsHook;
buildInputs = [ openssl db48 boost zlib zeromq
miniupnpc libevent]
@@ -75,7 +76,6 @@ in stdenv.mkDerivation rec {
homepage = http://www.bitcoin.org/;
maintainers = with maintainers; [ roconnor AndersonTorres ];
license = licenses.mit;
- # bitcoin needs hexdump to build, which doesn't seem to build on darwin at the moment.
- platforms = platforms.linux;
+ platforms = platforms.unix;
};
}