emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#54641: closed ([PATCH] gnu: xmonad-next: Change #:phases to gexp.)


From: GNU bug Tracking System
Subject: bug#54641: closed ([PATCH] gnu: xmonad-next: Change #:phases to gexp.)
Date: Tue, 05 Apr 2022 12:11:01 +0000

Your message dated Tue, 05 Apr 2022 14:10:48 +0200
with message-id <87lewjpw6v.fsf_-_@gnu.org>
and subject line Re: bug#54641: [PATCH] gnu: xmonad-next: Change #:phases to 
gexp.
has caused the debbugs.gnu.org bug report #54641,
regarding [PATCH] gnu: xmonad-next: Change #:phases to gexp.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
54641: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=54641
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: xmonad-next: Change #:phases to gexp. Date: Wed, 30 Mar 2022 20:02:34 +0200
* gnu/packages/wm.scm (xmonad-next)[arguments]: Use #$output instead of
%output and $#(package-name this-package) and $#(package-synopsis
this-package) instead of name and synopsis.
---
 gnu/packages/wm.scm | 27 +++++++++++++++------------
 1 file changed, 15 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 3de760d7a6..d6e27f0677 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -51,6 +51,7 @@
 ;;; Copyright © 2022 John Kehayias <john.kehayias@protonmail.com>
 ;;; Copyright © 2022 Gabriel Wicki <gabriel@erlikon.ch>
 ;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan@gmail.com>
+;;; Copyright © 2022 Daniel Meißner <daniel.meissner-i4k@ruhr-uni-bochum.de>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -758,22 +759,24 @@ (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~%"
+                                 #$(package-name this-package)
+                                 #$(package-synopsis this-package)
+                                 #$output)))))))))
     (home-page "https://xmonad.org";)
     (description
      "Xmonad is a tiling window manager for X.  Windows are arranged
-- 
2.34.0




--- End Message ---
--- Begin Message --- Subject: Re: bug#54641: [PATCH] gnu: xmonad-next: Change #:phases to gexp. Date: Tue, 05 Apr 2022 14:10:48 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Hi,

Daniel Meißner <daniel.meissner-i4k@ruhr-uni-bochum.de> skribis:

> * gnu/packages/wm.scm (xmonad-next)[arguments]: Use #$output, #$name
> and #$synopsis instead of %output, name and synopsis.

Applied, thanks!

Ludo’.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]