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
@ -20,7 +20,11 @@ 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"
|
||||||
|
"--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"
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user