bitcoin: don't build tests that aren't used, don't build benchmarks

(cherry picked from commit d51c0a87b2ebf756015784839ec9c13950c45323)
This commit is contained in:
Will Dietz 2018-09-23 22:00:13 -05:00
parent 5e5cd96189
commit 8b184ec2e1

View file

@ -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"
];