From faec169f0d0beb660ec6a2cea452c38e5430cdf8 Mon Sep 17 00:00:00 2001 From: Ingo Blechschmidt Date: Mon, 4 May 2020 21:56:08 +0200 Subject: [PATCH] tuxpaint: install desktop file --- pkgs/games/tuxpaint/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/games/tuxpaint/default.nix b/pkgs/games/tuxpaint/default.nix index b9d7f1b8c286..30b0e16291fd 100644 --- a/pkgs/games/tuxpaint/default.nix +++ b/pkgs/games/tuxpaint/default.nix @@ -30,6 +30,12 @@ stdenv.mkDerivation rec { }; postInstall = '' + # Install desktop file + mkdir -p $out/share/applications + cp hildon/tuxpaint.xpm $out/share/pixmaps + sed -e "s+Exec=tuxpaint+Exec=$out/bin/tuxpaint+" < src/tuxpaint.desktop > $out/share/applications/tuxpaint.desktop + + # Install stamps tar xzf $stamps cd tuxpaint-stamps-2014.08.23 make install-all PREFIX=$out