[PATCH] gnu: xmonad: Re-add xmonad.desktop file.

  • Done
  • quality assurance status badge
Details
2 participants
  • EuAndreh
  • Lars-Dominik Braun
Owner
unassigned
Submitted by
EuAndreh
Severity
normal
E
E
EuAndreh wrote on 28 Feb 2023 18:31
(address . guix-patches@gnu.org)
20230228173127.3033-1-eu@euandre.org
* gnu/packages/wm.scm (xmonad)[arguments]: Add 'install-xsession phase
that was removed in previous automated update[0].

---
gnu/packages/wm.scm | 20 ++++++++++++++++++--
1 file changed, 18 insertions(+), 2 deletions(-)

Toggle diff (33 lines)
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
L
L
Lars-Dominik Braun wrote on 28 Feb 2023 20:53
(name . EuAndreh)(address . eu@euandre.org)(address . 61872-done@debbugs.gnu.org)
Y/5bn72NWawiv4f1@noor.fritz.box
Hi,

Toggle quote (2 lines)
> * 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
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 61872@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 61872
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch