about summary refs log tree commit diff
path: root/pkgs/applications/audio/pt2-clone
diff options
context:
space:
mode:
authorh7x4 <h7x4@nani.wtf>2023-12-01 22:17:20 +0100
committerh7x4 <h7x4@nani.wtf>2023-12-02 06:57:21 +0100
commitefdec26090fe6c61327b67d933e39d694da36bc2 (patch)
treeebdd2c343c8be18cbcfb29b81babb409682eee53 /pkgs/applications/audio/pt2-clone
parent5171694860f185961daff3b1b413dabcab421300 (diff)
treewide: install missing desktopItems
Diffstat (limited to 'pkgs/applications/audio/pt2-clone')
-rw-r--r--pkgs/applications/audio/pt2-clone/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/applications/audio/pt2-clone/default.nix b/pkgs/applications/audio/pt2-clone/default.nix
index 276fdbf32e2c4..b6fa1ce2d0d46 100644
--- a/pkgs/applications/audio/pt2-clone/default.nix
+++ b/pkgs/applications/audio/pt2-clone/default.nix
@@ -20,6 +20,13 @@ stdenv.mkDerivation rec {
   nativeBuildInputs = [ cmake ];
   buildInputs = [ SDL2 ] ++ lib.optional stdenv.isLinux alsa-lib;
 
+  postInstall = ''
+    install -Dm444 "$src/release/other/Freedesktop.org Resources/ProTracker 2 clone.desktop" \
+      -t $out/share/applications
+    install -Dm444 "$src/release/other/Freedesktop.org Resources/ProTracker 2 clone.png" \
+      -t $out/share/icons/hicolor/512x512/apps
+  '';
+
   passthru.tests = {
     pt2-clone-opens = nixosTests.pt2-clone;
   };