about summary refs log tree commit diff
path: root/pkgs/applications/audio/cheesecutter
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/cheesecutter
parent5171694860f185961daff3b1b413dabcab421300 (diff)
treewide: install missing desktopItems
Diffstat (limited to 'pkgs/applications/audio/cheesecutter')
-rw-r--r--pkgs/applications/audio/cheesecutter/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/audio/cheesecutter/default.nix b/pkgs/applications/audio/cheesecutter/default.nix
index 6c14cc67f81fa..8e2877c40c7bb 100644
--- a/pkgs/applications/audio/cheesecutter/default.nix
+++ b/pkgs/applications/audio/cheesecutter/default.nix
@@ -36,6 +36,11 @@ stdenv.mkDerivation rec {
 
     mkdir -p $out/share/cheesecutter/example_tunes
     cp -r tunes/* $out/share/cheesecutter/example_tunes
+
+    install -Dm444 arch/fd/ccutter.desktop -t $out/share/applications
+    for res in $(ls icons | sed -e 's/cc//g' -e 's/.png//g'); do
+      install -Dm444 icons/cc$res.png $out/share/icons/hicolor/''${res}x''${res}/apps/cheesecutter.png
+    done
   '';
 
   postFixup =