mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 06:01:15 +00:00
evopedia: patch the desktop file
This commit is contained in:
parent
a57a32e07c
commit
e2160affab
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue