diff options
author | Pol Dellaiera <pol.dellaiera@protonmail.com> | 2024-01-31 21:57:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-31 21:57:10 +0100 |
commit | 8c3a2ea1450c8faff5488ba61b42679ed065c7b8 (patch) | |
tree | 0ccea65d08d3f158e0585bfacac8cc702b97410d | |
parent | 553970bfa95aff6e7478c166796add0a9ffa2e94 (diff) | |
parent | a070fb79a468190f017c7e0a4593d5630ed2f251 (diff) |
Merge pull request #284827 from Stunkymonkey/polyphone-desktop-icon
polyphone: add desktop item
-rw-r--r-- | pkgs/applications/audio/polyphone/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/audio/polyphone/default.nix b/pkgs/applications/audio/polyphone/default.nix index f7008bf66bba9..0e73861aa0f46 100644 --- a/pkgs/applications/audio/polyphone/default.nix +++ b/pkgs/applications/audio/polyphone/default.nix @@ -29,8 +29,13 @@ mkDerivation rec { ''; installPhase = '' + runHook preInstall install -d $out/bin install -m755 bin/polyphone $out/bin/ + + install -Dm444 ./contrib/com.polyphone_soundfonts.polyphone.desktop -t $out/share/applications/ + install -Dm444 ./contrib/polyphone.svg -t $out/share/icons/hicolor/scalable/apps/ + runHook postInstall ''; qmakeFlags = [ |