evopedia: patch the desktop file

This commit is contained in:
Bart Brouns 2017-12-01 17:24:53 +01:00
parent a57a32e07c
commit e2160affab

View file

@ -14,6 +14,12 @@ stdenv.mkDerivation rec {
buildInputs = [ bzip2 qt4 libX11 ];
nativeBuildInputs = [ qmake4Hook ];
postInstall = ''
# Patch the `evopedia.desktop' file.
substituteInPlace $out/share/applications/evopedia.desktop \
--replace '/usr/bin/evopedia' $out/bin/evopedia
'';
meta = with stdenv.lib; {
description = "Offline Wikipedia Viewer";
homepage = http://www.evopedia.info;