me
/
guix
Archived
1
0
Fork 0

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>
master
EuAndreh 2023-02-28 14:31:27 -03:00 committed by Lars-Dominik Braun
parent 19fc388d2b
commit 307d1b626b
No known key found for this signature in database
GPG Key ID: F663943E08D8092A
1 changed files with 18 additions and 2 deletions

View File

@ -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