From 8b184ec2e14574ed97fbf0911431bd43538542be Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Sun, 23 Sep 2018 22:00:13 -0500 Subject: [PATCH] bitcoin: don't build tests that aren't used, don't build benchmarks (cherry picked from commit d51c0a87b2ebf756015784839ec9c13950c45323) --- pkgs/applications/altcoins/bitcoin.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/altcoins/bitcoin.nix b/pkgs/applications/altcoins/bitcoin.nix index 878cb6064e8..fbc22935d8c 100644 --- a/pkgs/applications/altcoins/bitcoin.nix +++ b/pkgs/applications/altcoins/bitcoin.nix @@ -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" ];