New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bitcoin: 0.20.1 -> 0.21.0 + allow build without wallet #106837
Conversation
99b6c28
to
4e2ca5d
Compare
4e2ca5d
to
7454c08
Compare
@@ -58,6 +60,8 @@ stdenv.mkDerivation rec { | |||
] ++ optionals (!doCheck) [ | |||
"--disable-tests" | |||
"--disable-gui-tests" | |||
] ++ optionals (!withWallet) [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks improperly indented.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indent fixed in 672607c
@@ -36,15 +37,16 @@ stdenv.mkDerivation rec { | |||
"https://bitcoincore.org/bin/bitcoin-core-${version}/bitcoin-${version}.tar.gz" | |||
"https://bitcoin.org/bin/bitcoin-core-${version}/bitcoin-${version}.tar.gz" | |||
]; | |||
sha256 = "4bbd62fd6acfa5e9864ebf37a24a04bc2dcfe3e3222f056056288d854c53b978"; | |||
sha256 = "1a91202c62ee49fb64d57a52b8d6d01cd392fffcbef257b573800f9289655f37"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This hash matches the value signed by Bitcoin Core binary release signing key
at https://bitcoincore.org/bin/bitcoin-core-0.21.0/SHA256SUMS.asc and I have verified the signature in that file.
7454c08
to
926eda5
Compare
We need to add an sqlite dependency (when wallets are enabled) for descriptor wallet support. |
Added in 727d4a5d5713408adece68915269fdaf2c901e03 |
ping @jb55 in case he wants to also do a review. |
I'm not sure if we should add |
@prusnak, can you squash |
+ add sqlite to buildInputs (if wallet is enabled)
727d4a5
to
f324c9a
Compare
I don't see that as necessary. |
Done in f324c9a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests bitcoind
, blockbook-frontend
succeed.
All other relevant tests (prometheus-exporters
, wasabibackend
) were already broken before.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Someday we should look into perhaps not-wrapping non-qt binaries.
Motivation for this change
--disable-wallet
configure optionThings done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)