diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 3de760d7a6..036665f7f0 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -51,6 +51,7 @@ ;;; Copyright © 2022 John Kehayias ;;; Copyright © 2022 Gabriel Wicki ;;; Copyright © 2022 Jai Vetrivelan +;;; Copyright © 2022 Daniel Meißner ;;; ;;; This file is part of GNU Guix. ;;; @@ -758,22 +759,21 @@ (define-public xmonad-next (inputs (list ghc-data-default-class ghc-setlocale ghc-x11)) (native-inputs (list ghc-quickcheck ghc-quickcheck-classes)) (arguments - `(#: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 "~ + (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=~a~@ Exec=~a/bin/xmonad~@ - Type=Application~%" ,name ,synopsis %output))))))))) + Type=Application~%" #$name #$synopsis #$output))))))))) (home-page "https://xmonad.org") (description "Xmonad is a tiling window manager for X. Windows are arranged