mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06:00
gnu: xmonad: Re-add xmonad.desktop file.
* gnu/packages/wm.scm (xmonad)[arguments]: Add 'install-xsession phase that was removed in previous automated update. Change-Id: Iac02b4c6e7a73c9b354c52b46eb39dca8156b1c3
This commit is contained in:
parent
964f9fcd9b
commit
bc71034f78
1 changed files with 18 additions and 0 deletions
|
|
@ -872,6 +872,24 @@ manager and a system tray.")
|
|||
(base32 "19qz9a23377nzc0qq8nca45s745mfncd4i2vwba14gi7ipipfcil"))))
|
||||
(build-system haskell-build-system)
|
||||
(properties '((upstream-name . "xmonad")))
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'install 'install-xsession
|
||||
(lambda _
|
||||
(let* ((xsessions (string-append #$output "/share/xsessions"))
|
||||
(entry (string-append xsessions "/xmonad.desktop")))
|
||||
(mkdir-p xsessions)
|
||||
(call-with-output-file
|
||||
entry
|
||||
(lambda (port)
|
||||
(format port "~
|
||||
[Desktop Entry]~@
|
||||
Name=xmonad~@
|
||||
Comment=xmonad window manager~@
|
||||
Exec=~a/bin/xmonad~@
|
||||
Type=Application~%" #$output)))))))))
|
||||
(inputs (list ghc-x11 ghc-data-default-class ghc-setlocale))
|
||||
(native-inputs (list ghc-quickcheck ghc-quickcheck-classes))
|
||||
(home-page "http://xmonad.org")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue