about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/audio/cheesecutter/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/applications/audio/cheesecutter/default.nix')
-rw-r--r--nixpkgs/pkgs/applications/audio/cheesecutter/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/audio/cheesecutter/default.nix b/nixpkgs/pkgs/applications/audio/cheesecutter/default.nix
index 6c14cc67f81f..8e2877c40c7b 100644
--- a/nixpkgs/pkgs/applications/audio/cheesecutter/default.nix
+++ b/nixpkgs/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 =