monero-gui: fix install path

gstqt5
rnhmjoj 2020-10-17 11:47:07 +02:00
parent 9bf0008d68
commit 101bb7814b
No known key found for this signature in database
GPG Key ID: BFBAF4C975F76450
1 changed files with 5 additions and 4 deletions

View File

@ -75,10 +75,11 @@ stdenv.mkDerivation rec {
'add_subdirectory(monero EXCLUDE_FROM_ALL)'
'';
cmakeFlags = [
"-DCMAKE_INSTALL_PREFIX=$out/bin"
"-DARCH=${arch}"
];
preConfigure = ''
# because $out needs to be expanded
cmakeFlagsArray+=("-DCMAKE_INSTALL_PREFIX=$out/bin")
cmakeFlagsArray+=("-DARCH=${arch}")
'';
desktopItem = makeDesktopItem {
name = "monero-wallet-gui";