mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
bitcoin: don't build tests that aren't used, don't build benchmarks
(cherry picked from commit d51c0a87b2ebf756015784839ec9c13950c45323)
This commit is contained in:
parent
5e5cd96189
commit
8b184ec2e1
1 changed files with 5 additions and 1 deletions
|
@ -20,7 +20,11 @@ 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"
|
||||
"--disable-tests"
|
||||
"--disable-gui-tests"
|
||||
]
|
||||
++ optionals withGui [ "--with-gui=qt5"
|
||||
"--with-qt-bindir=${qtbase.dev}/bin:${qttools.dev}/bin"
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue