mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 00:08:32 +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 stdenv.isLinux [ utillinux ]
|
||||||
++ optionals withGui [ qtbase qttools qrencode ];
|
++ 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"
|
++ optionals withGui [ "--with-gui=qt5"
|
||||||
"--with-qt-bindir=${qtbase.dev}/bin:${qttools.dev}/bin"
|
"--with-qt-bindir=${qtbase.dev}/bin:${qttools.dev}/bin"
|
||||||
];
|
];
|
||||||
|
@ -29,6 +34,8 @@ stdenv.mkDerivation rec{
|
||||||
# find or load the Qt platform plugin "minimal""
|
# find or load the Qt platform plugin "minimal""
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Peer-to-peer electronic cash system";
|
description = "Peer-to-peer electronic cash system";
|
||||||
longDescription= ''
|
longDescription= ''
|
||||||
|
|
Loading…
Reference in a new issue