about summary refs log tree commit diff
path: root/pkgs/applications/audio/gspeech/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/audio/gspeech/default.nix')
-rw-r--r--pkgs/applications/audio/gspeech/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/audio/gspeech/default.nix b/pkgs/applications/audio/gspeech/default.nix
index a48aa22809b4f..f2216ed7d2560 100644
--- a/pkgs/applications/audio/gspeech/default.nix
+++ b/pkgs/applications/audio/gspeech/default.nix
@@ -55,6 +55,11 @@ python3.pkgs.buildPythonApplication rec {
     librsvg
   ];
 
+  postInstall = ''
+    install -Dm444 gspeech.desktop -t $out/share/applications
+    install -Dm444 icons/*.svg -t $out/share/icons/hicolor/scalable/apps
+  '';
+
   postFixup = ''
     wrapProgram $out/bin/gspeech --prefix PATH : ${lib.makeBinPath [ picotts sox ]}
     wrapProgram $out/bin/gspeech-cli --prefix PATH : ${lib.makeBinPath [ picotts sox ]}