mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
Merge pull request #47258 from dtzWill/fix/bitcoin-long-compile
bitcoin: don't build things not used, enable parallel building
This commit is contained in:
commit
c82ac80d99
1 changed files with 8 additions and 1 deletions
|
@ -20,7 +20,12 @@ stdenv.mkDerivation rec{
|
|||
++ optionals stdenv.isLinux [ utillinux ]
|
||||
++ optionals withGui [ qtbase qttools qrencode ];
|
||||
|
||||
configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ]
|
||||
configureFlags = [ "--with-boost-libdir=${boost.out}/lib"
|
||||
"--disable-bench"
|
||||
] ++ optionals (!doCheck) [
|
||||
"--disable-tests"
|
||||
"--disable-gui-tests"
|
||||
]
|
||||
++ optionals withGui [ "--with-gui=qt5"
|
||||
"--with-qt-bindir=${qtbase.dev}/bin:${qttools.dev}/bin"
|
||||
];
|
||||
|
@ -29,6 +34,8 @@ stdenv.mkDerivation rec{
|
|||
# find or load the Qt platform plugin "minimal""
|
||||
doCheck = false;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
description = "Peer-to-peer electronic cash system";
|
||||
longDescription= ''
|
||||
|
|
Loading…
Reference in a new issue