GNU bug report logs - #71034
[PATCH 0/2] Update cmus

Previous Next

Package: guix-patches;

Reported by: Timotej Lazar <timotej.lazar <at> araneo.si>

Date: Sat, 18 May 2024 10:28:01 UTC

Severity: normal

Tags: patch

Done: "jgart" <jgart <at> dismail.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Timotej Lazar <timotej.lazar <at> araneo.si>
To: 71034 <at> debbugs.gnu.org
Cc: Timotej Lazar <timotej.lazar <at> araneo.si>
Subject: [bug#71034] [PATCH 2/2] gnu: cmus: Switch to new package style.
Date: Sat, 18 May 2024 12:29:04 +0200
* gnu/packages/music.scm (cmus)[arguments]: Use g-exps. Drop trailing #t from
'configure phase.

Change-Id: Ia840202adddf390bd29a0fb57fa1a3294dd7a61a
---
 gnu/packages/music.scm | 20 +++++++++-----------
 1 file changed, 9 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 00f0c3b97f..5c58c95bb5 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -774,17 +774,15 @@ (define-public cmus
                 "1k50z99v2yqshycx6mbk4g5bsaalg5dgzjv3xvwq14abwkw44hli"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:tests? #f ; cmus does not include tests
-       #:phases
-       (modify-phases %standard-phases
-         (replace 'configure
-           (lambda* (#:key outputs #:allow-other-keys)
-             (let ((out (assoc-ref outputs "out")))
-               ;; It's an idiosyncratic configure script that doesn't
-               ;; understand --prefix=..; it wants prefix=.. instead.
-               (invoke "./configure"
-                       (string-append "prefix=" out))
-               #t))))))
+     (list
+      #:tests? #f ; cmus does not include tests
+      #:phases
+      #~(modify-phases %standard-phases
+          (replace 'configure
+            (lambda _
+              ;; It's an idiosyncratic configure script that doesn't
+              ;; understand --prefix=..; it wants prefix=.. instead.
+              (invoke "./configure" (string-append "prefix=" #$output)))))))
     ;; TODO: cmus optionally supports the following formats, which haven't yet
     ;; been added to Guix:
     ;;
-- 
2.41.0





This bug report was last modified 1 year and 38 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.