mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-13 07:34:21 +00:00
eudic: fix desktop item
This commit is contained in:
parent
2cf707c042
commit
9859761ab8
@ -4,7 +4,6 @@
|
||||
autoPatchelfHook,
|
||||
makeWrapper,
|
||||
lib,
|
||||
copyDesktopItems,
|
||||
libnotify,
|
||||
libX11,
|
||||
libXScrnSaver,
|
||||
@ -71,11 +70,17 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
mkdir -p $out
|
||||
cp -r usr/* $out/
|
||||
|
||||
makeWrapper $out/share/eusoft-eudic/eudic $out/bin/eudic
|
||||
makeWrapper $out/share/eusoft-eudic/eudic $out/bin/eudic \
|
||||
--inherit-argv0
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
substituteInPlace $out/share/applications/eusoft-eudic.desktop \
|
||||
--replace-fail '/usr/share/eusoft-eudic/AppRun' 'eudic'
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Authoritative English Dictionary Software Essential Tools for English Learners";
|
||||
homepage = "https://www.eudic.net/v4/en/app/eudic";
|
||||
|
Loading…
Reference in New Issue
Block a user