From 796bf41d6cbcc0d09b1ed692fb5759e6228225d6 Mon Sep 17 00:00:00 2001 From: Raghav Sood Date: Mon, 13 May 2024 11:47:54 +0800 Subject: [PATCH 1/2] bitcoin-knots: 25.1.knots20231115 -> 26.1.knots20240325 --- pkgs/applications/blockchains/bitcoin-knots/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/blockchains/bitcoin-knots/default.nix b/pkgs/applications/blockchains/bitcoin-knots/default.nix index ace8329bb876b..f627ee1d6bbfd 100644 --- a/pkgs/applications/blockchains/bitcoin-knots/default.nix +++ b/pkgs/applications/blockchains/bitcoin-knots/default.nix @@ -25,11 +25,11 @@ stdenv.mkDerivation rec { pname = if withGui then "bitcoin-knots" else "bitcoind-knots"; - version = "25.1.knots20231115"; + version = "26.1.knots20240325"; src = fetchurl { - url = "https://bitcoinknots.org/files/25.x/${version}/bitcoin-${version}.tar.gz"; - sha256 = "b6251beee95cf6701c6ebc443b47fb0e99884880f2661397f964a8828add4002"; + url = "https://bitcoinknots.org/files/26.x/${version}/bitcoin-${version}.tar.gz"; + hash = "sha256-PqpePDna2gpCzF2K43N4h6cV5Y9w/e5ZcUvaNEaFaIk="; }; nativeBuildInputs = From 1ead048b1d181b4587941aa5919c3ae45ab68750 Mon Sep 17 00:00:00 2001 From: Raghav Sood Date: Mon, 13 May 2024 12:01:26 +0800 Subject: [PATCH 2/2] bitcoin-knots: disable BDB for darwin --- pkgs/applications/blockchains/bitcoin-knots/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/blockchains/bitcoin-knots/default.nix b/pkgs/applications/blockchains/bitcoin-knots/default.nix index f627ee1d6bbfd..181c14ecd7a93 100644 --- a/pkgs/applications/blockchains/bitcoin-knots/default.nix +++ b/pkgs/applications/blockchains/bitcoin-knots/default.nix @@ -40,7 +40,8 @@ stdenv.mkDerivation rec { ++ lib.optionals withGui [ wrapQtAppsHook ]; buildInputs = [ boost libevent miniupnpc zeromq zlib ] - ++ lib.optionals withWallet [ db48 sqlite ] + ++ lib.optionals withWallet [ sqlite ] + ++ lib.optionals (withWallet && !stdenv.isDarwin) [ db48 ] ++ lib.optionals withGui [ qrencode qtbase qttools ]; configureFlags = [