diff --git a/pkgs/applications/blockchains/groestlcoin/default.nix b/pkgs/applications/blockchains/groestlcoin/default.nix index d140f19b3cf8..6a0f4fd9ef14 100644 --- a/pkgs/applications/blockchains/groestlcoin/default.nix +++ b/pkgs/applications/blockchains/groestlcoin/default.nix @@ -90,9 +90,9 @@ stdenv.mkDerivation (finalAttrs: { cmakeFlags = [ (lib.cmakeBool "BUILD_BENCH" false) (lib.cmakeBool "WITH_ZMQ" true) - (lib.cmakeBool "WITH_USDT" (stdenv.hostPlatform.isLinux)) - (lib.cmakeBool "ENABLE_WALLET" (!withWallet)) - (lib.cmakeBool "BUILD_GUI" (!withGui)) + (lib.cmakeBool "WITH_USDT" stdenv.hostPlatform.isLinux) + ] + ++ lib.optionals (!withWallet) [ (lib.cmakeBool "ENABLE_WALLET" false) ] ++ lib.optionals withGui [