From 013fe00139f63ff587869f4ca9c320b3e04753d0 Mon Sep 17 00:00:00 2001 From: Alex Griffin Date: Tue, 20 Jul 2021 13:20:45 -0500 Subject: [PATCH] anki-bin: install desktop entry and man page --- pkgs/games/anki/bin.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/games/anki/bin.nix b/pkgs/games/anki/bin.nix index 09f92b0f8481..26b29b9228e3 100644 --- a/pkgs/games/anki/bin.nix +++ b/pkgs/games/anki/bin.nix @@ -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;