guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 4c8748db80ebabfb34987b296a5948baa563219a
Author: Luis Guilherme Coelho <[email protected]>
AuthorDate: Tue Feb 10 14:43:17 2026 -0300

    gnu: newsraft: Install desktop file.
    
    * gnu/packages/syndication.scm (newsraft):
    [arguments]: Add ‘install-desktop-entry’ phase.
    
    Change-Id: I26ec7ca5bc398c3df2f3a5ef6b8a79be98fd38ee
    Signed-off-by: jgart <[email protected]>
---
 gnu/packages/syndication.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/syndication.scm b/gnu/packages/syndication.scm
index d2484e6014..cb5dd4a58d 100644
--- a/gnu/packages/syndication.scm
+++ b/gnu/packages/syndication.scm
@@ -254,6 +254,10 @@ file system, and many more features.")
       #:phases
       #~(modify-phases %standard-phases
           (delete 'configure) ; no configure
+          (add-after 'install 'install-desktop-entry
+            (lambda _
+              (install-file "doc/newsraft.desktop"
+                            (string-append #$output "/share/applications"))))
           (add-after 'install 'wrap-newsraft
             (lambda* (#:key inputs outputs #:allow-other-keys)
               (let ((newsraft (search-input-file outputs "/bin/newsraft"))

Reply via email to