GNU bug report logs -
#61872
[PATCH] gnu: xmonad: Re-add xmonad.desktop file.
Previous Next
Reported by: EuAndreh <eu <at> euandre.org>
Date: Tue, 28 Feb 2023 17:32:02 UTC
Severity: normal
Tags: patch
Done: Lars-Dominik Braun <lars <at> 6xq.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Tue, 28 Feb 2023 20:53:03 +0100
with message-id <Y/5bn72NWawiv4f1 <at> noor.fritz.box>
and subject line Re: [PATCH] gnu: xmonad: Re-add xmonad.desktop file.
has caused the debbugs.gnu.org bug report #61872,
regarding [PATCH] gnu: xmonad: Re-add xmonad.desktop file.
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
61872: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=61872
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
* 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
[Message part 3 (message/rfc822, inline)]
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
This bug report was last modified 2 years and 87 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.