redis-desktop-manager: fix build with gcc9

This commit is contained in:
Franz Pletz 2019-11-03 14:25:50 +01:00
parent d954e8a223
commit 6d772e0dfb
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4
1 changed files with 2 additions and 0 deletions

View File

@ -32,6 +32,8 @@ stdenv.mkDerivation rec {
dontUseQmakeConfigure = true;
NIX_CFLAGS_COMPILE = [ "-Wno-error=deprecated" ];
# Disable annoying update reminder
postPatch = ''
sed -i s/'^\s*initUpdater();'/'\/\/initUpdater():'/ src/app/app.cpp