diff --git a/pkgs/applications/blockchains/monero-gui/default.nix b/pkgs/applications/blockchains/monero-gui/default.nix index 431d667d1534..8cd03f34286f 100644 --- a/pkgs/applications/blockchains/monero-gui/default.nix +++ b/pkgs/applications/blockchains/monero-gui/default.nix @@ -75,11 +75,7 @@ stdenv.mkDerivation rec { 'add_subdirectory(monero EXCLUDE_FROM_ALL)' ''; - preConfigure = '' - # because $out needs to be expanded - cmakeFlagsArray+=("-DCMAKE_INSTALL_PREFIX=$out/bin") - cmakeFlagsArray+=("-DARCH=${arch}") - ''; + cmakeFlags = [ "-DARCH=${arch}" ]; desktopItem = makeDesktopItem { name = "monero-wallet-gui";