mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -05: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 @@ (define-public xmonad
|
|||
(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…
Reference in a new issue