Skip to content

Commit

Permalink
evopedia: patch the desktop file
Browse files Browse the repository at this point in the history
(cherry picked from commit e2160af)
  • Loading branch information
magnetophon authored and Mic92 committed Dec 2, 2017
1 parent 6a8049c commit 7ef982a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkgs/applications/misc/evopedia/default.nix
Expand Up @@ -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;
Expand Down

0 comments on commit 7ef982a

Please sign in to comment.