monero: apply patch to fix monero-gui build

This is a more appropriate solution to fix a
build error in monero-gui.
This commit is contained in:
rnhmjoj
2020-10-08 01:12:31 +02:00
parent 059292cc64
commit b5ca332b1d
2 changed files with 14 additions and 4 deletions
@@ -57,8 +57,9 @@ stdenv.mkDerivation rec {
# set monero-gui version
substituteInPlace src/version.js.in \
--replace '@VERSION_TAG_GUI@' '${version}'
substituteInPlace monero/src/version.cpp.in \
--replace '@VERSION_IS_RELEASE@' 'true'
# remove this line on the next release
rm cmake/Version.cmake
# use monerod from the monero package
substituteInPlace src/daemon/DaemonManager.cpp \