guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: xmonad: Re-add xmonad.desktop file.


From: guix-commits
Subject: branch master updated: gnu: xmonad: Re-add xmonad.desktop file.
Date: Tue, 28 Feb 2023 14:52:47 -0500

This is an automated email from the git hooks/post-receive script.

lbraun pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 307d1b626b gnu: xmonad: Re-add xmonad.desktop file.
307d1b626b is described below

commit 307d1b626be86ed21d48d44a131ce8490f370a17
Author: EuAndreh <eu@euandre.org>
AuthorDate: Tue Feb 28 14:31:27 2023 -0300

    gnu: xmonad: Re-add xmonad.desktop file.
    
    * gnu/packages/wm.scm (xmonad)[arguments]: Add 'install-xsession phase
      that was removed in previous automated update.
    
    Fixes: <https://issues.guix.gnu.org/61872>
    Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
---
 gnu/packages/wm.scm | 20 ++++++++++++++++++--
 1 file changed, 18 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 9ba2841817..e6b7df544e 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -817,8 +817,24 @@ manager and a system tray.")
     (inputs (list ghc-x11 ghc-data-default-class ghc-setlocale))
     (native-inputs (list ghc-quickcheck ghc-quickcheck-classes))
     (arguments
-     `(#:cabal-revision ("2"
-                         
"1rgwrnyb7kijzl2mqm8ks2nydh37q5vkbg4400rg9n6x13w2r9b3")))
+      (list
+       #:phases
+       #~(modify-phases %standard-phases
+           (add-after 'install 'install-xsession
+             (lambda _
+               (let ((xsessions (string-append #$output "/share/xsessions")))
+                 (mkdir-p xsessions)
+                 (call-with-output-file (string-append xsessions
+                                                       "/xmonad.desktop")
+                  (lambda (port)
+                    (format port "~
+                     [Desktop Entry]~@
+                     Name=~a~@
+                     Comment=xmonad window manager~@
+                     Exec=~a/bin/xmonad~@
+                     Type=Application~%" #$name #$output)))))))
+       #:cabal-revision '("2"
+                          
"1rgwrnyb7kijzl2mqm8ks2nydh37q5vkbg4400rg9n6x13w2r9b3")))
     (home-page "http://xmonad.org";)
     (synopsis "Tiling window manager")
     (description



reply via email to

[Prev in Thread] Current Thread [Next in Thread]