Change:
Describe the bug monero-gui fails to build, it was part of my . I am on nixos-unstable. To Reproduce Steps to reproduce the behavior: Expected behavior Build success. Metadata

Discussion:
<del> { stdenv, wrapQtAppsHook, makeDesktopItem, fetchFromGitHub , qtbase, qmake, qtmultimedia, qttools , qtgraphicaleffects, qtdeclarative , qtlocation, qtquickcontrols, qtquickcontrols2 , qtwebchannel, qtwebengine, qtx11extras, qtxmlpatterns </del> <ins> { stdenv, wrapQtAppsHook, makeDesktopItem , fetchFromGitHub, qmake, qttools, pkgconfig , qtbase, qtdeclarative, qtgraphicaleffects , qtmultimedia, qtxmlpatterns , qtquickcontrols, qtquickcontrols2 </ins> , monero, unbound, readline, boost, libunwind <del> , libsodium, pcsclite, zeromq, cppzmq, pkgconfig , hidapi, randomx </del> <ins> , libsodium, pcsclite, zeromq, cppzmq , hidapi, libusb, protobuf, randomx </ins> }: with stdenv.lib; stdenv.mkDerivation rec { pname = "monero-gui"; <del> version = "0.15.0.1"; </del> <ins> version = "0.15.0.4"; </ins> src = fetchFromGitHub { owner  = "monero-project"; repo   = "monero-gui"; rev    = "v${version}"; <del> sha256 = "08j8kkncdn57xql0bhmlzjpjkdfhqbpda1p07r797q8qi0nl4w8n"; </del> <ins> sha256 = "12m5fgnxkr11q2arx1m5ccpxqm5ljcvm6l547dwqn297zs5jim4z"; </ins> }; nativeBuildInputs = [ qmake pkgconfig wrapQtAppsHook ]; buildInputs = [ <del> qtbase qtmultimedia qtgraphicaleffects qtdeclarative qtlocation qtquickcontrols qtquickcontrols2 qtwebchannel qtwebengine qtx11extras qtxmlpatterns monero unbound readline </del> <ins> qtbase qtdeclarative qtgraphicaleffects qtmultimedia qtquickcontrols qtquickcontrols2 qtxmlpatterns monero unbound readline </ins> boost libunwind libsodium pcsclite zeromq <del> cppzmq hidapi randomx </del> <ins> cppzmq hidapi libusb protobuf randomx </ins> ]; NIX_CFLAGS_COMPILE = [ "-Wno-error=format-security" ];

<del> diff --git a/main.cpp b/main.cpp index a51568d..5a9f683 100644 --- a/main.cpp +++ b/main.cpp @@ -152,7 +152,9 @@ int main(int argc, char *argv[]) </del> <ins> diff --git a/src/main/main.cpp b/src/main/main.cpp index c5210e5f..45794d72 100644 --- a/src/main/main.cpp +++ b/src/main/main.cpp @@ -220,6 +220,9 @@ int main(int argc, char *argv[]) </ins> QCommandLineOption logPathOption(QStringList() << "l" << "log-file", QCoreApplication::translate("main", "Log to specified file"), QCoreApplication::translate("main", "file")); <del> - </del> +    logPathOption.setDefaultValue( +        QStandardPaths::writableLocation(QStandardPaths::CacheLocation) +        + "/monero-wallet-gui.log"); <del> parser.addOption(logPathOption); parser.addHelpOption(); parser.process(app); </del> <ins> QCommandLineOption testQmlOption("test-qml"); testQmlOption.setFlags(QCommandLineOption::HiddenFromHelp); </ins>

, cmake, pkgconfig , boost, miniupnpc, openssl, unbound, cppzmq , zeromq, pcsclite, readline, libsodium, hidapi <del> , python3Packages, randomx, rapidjson </del> <ins> , pythonProtobuf, randomx, rapidjson, libusb </ins> , CoreData, IOKit, PCSC }:

boost miniupnpc openssl unbound cppzmq zeromq pcsclite readline libsodium hidapi randomx rapidjson <del> python3Packages.protobuf </del> <ins> pythonProtobuf libusb </ins> ] ++ stdenv.lib.optionals stdenv.isDarwin [ IOKit CoreData PCSC ]; cmakeFlags = [

monero = callPackage ../applications/blockchains/monero { inherit (darwin.apple_sdk.frameworks) CoreData IOKit PCSC; <ins> pythonProtobuf = python3Packages.protobuf.override { protobuf = protobuf3_10; }; </ins> }; monero-gui = libsForQt5.callPackage ../applications/blockchains/monero-gui { boost = boost16x; <ins> protobuf = protobuf3_10; </ins> }; masari = callPackage ../applications/blockchains/masari.nix { boost = boost165; };