summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2020-01-25 10:32:36 -0500
committerGitHub <noreply@github.com>2020-01-25 10:32:36 -0500
commit03af480425c43bd8fb79b4fb35cec58166495a90 (patch)
tree8b70cc7c6e9d5e67a7dda5ce34c4d43b812987a3 /pkgs/applications
parent55250aae72c0dc01e834c1501ec0b546f4765558 (diff)
parentd47671b9f6a826e00d88e6e9f107ad0a28e09b8c (diff)
downloadnixpkgs-03af480425c43bd8fb79b4fb35cec58166495a90.tar
nixpkgs-03af480425c43bd8fb79b4fb35cec58166495a90.tar.gz
nixpkgs-03af480425c43bd8fb79b4fb35cec58166495a90.tar.bz2
nixpkgs-03af480425c43bd8fb79b4fb35cec58166495a90.tar.lz
nixpkgs-03af480425c43bd8fb79b4fb35cec58166495a90.tar.xz
nixpkgs-03af480425c43bd8fb79b4fb35cec58166495a90.tar.zst
nixpkgs-03af480425c43bd8fb79b4fb35cec58166495a90.zip
Merge pull request #78454 from marsam/fix-bitcoind-darwin
bitcoin: fix build on darwin
Diffstat (limited to 'pkgs/applications')
-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 2fa8ea6467c..c1143f898e2 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;
   };
 }