1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 04:02:10 +00:00

anki-bin: install desktop entry and man page

This commit is contained in:
Alex Griffin 2021-07-20 13:20:45 -05:00
parent 8472d44b82
commit 013fe00139

View file

@ -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;