Merge pull request #130843 from ajgrf/anki-bin-desktop-entry
anki-bin: install desktop entry and man page
This commit is contained in:
commit
68885a709e
1 changed files with 8 additions and 0 deletions
|
@ -43,6 +43,14 @@ if stdenv.isLinux then buildFHSUserEnv (appimageTools.defaultFhsEnvArgs // {
|
|||
exec ${unpacked}/bin/anki
|
||||
'';
|
||||
|
||||
extraInstallCommands = ''
|
||||
mkdir -p $out/share
|
||||
cp -R ${unpacked}/share/applications \
|
||||
${unpacked}/share/man \
|
||||
${unpacked}/share/pixmaps \
|
||||
$out/share/
|
||||
'';
|
||||
|
||||
inherit meta;
|
||||
}) else stdenv.mkDerivation {
|
||||
inherit pname version;
|
||||
|
|
Loading…
Reference in a new issue