all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#61872] [PATCH] gnu: xmonad: Re-add xmonad.desktop file.
@ 2023-02-28 17:31 EuAndreh via Guix-patches via
  2023-02-28 19:53 ` bug#61872: " Lars-Dominik Braun
  0 siblings, 1 reply; 2+ messages in thread
From: EuAndreh via Guix-patches via @ 2023-02-28 17:31 UTC (permalink / raw)
  To: 61872; +Cc: EuAndreh, lars

* gnu/packages/wm.scm (xmonad)[arguments]: Add 'install-xsession phase
  that was removed in previous automated update[0].

[0]: https://git.savannah.gnu.org/cgit/guix.git/commit/?id=49a320aaa6fb4c20d6b30c56c35a8c7ffceed822
---
 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 @@ (define-public xmonad
     (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
-- 
2.39.1





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#61872: [PATCH] gnu: xmonad: Re-add xmonad.desktop file.
  2023-02-28 17:31 [bug#61872] [PATCH] gnu: xmonad: Re-add xmonad.desktop file EuAndreh via Guix-patches via
@ 2023-02-28 19:53 ` Lars-Dominik Braun
  0 siblings, 0 replies; 2+ messages in thread
From: Lars-Dominik Braun @ 2023-02-28 19:53 UTC (permalink / raw)
  To: EuAndreh; +Cc: 61872-done

Hi,

> * gnu/packages/wm.scm (xmonad)[arguments]: Add 'install-xsession phase
>   that was removed in previous automated update[0].
thanks, I must’ve missed that. Pushed as 307d1b626be86ed21d48d44a131ce8490f370a17.

Cheers,
Lars





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-02-28 19:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-28 17:31 [bug#61872] [PATCH] gnu: xmonad: Re-add xmonad.desktop file EuAndreh via Guix-patches via
2023-02-28 19:53 ` bug#61872: " Lars-Dominik Braun

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.