guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 995e7c800b7a603569989d9eaeeab975ce4ffcc4
Author: Ricardo Wurmus <[email protected]>
AuthorDate: Mon Mar 2 18:32:29 2026 +0100

    gnu: make-propeller-binutils: Fix syntax error.
    
    * gnu/packages/embedded.scm (make-propeller-binutils)[arguments]: Simplify 
by
    only using SUBSTITUTE-KEYWORD-ARGUMENTS.
    
    Fixes <https://codeberg.org/guix/guix/issues/6533>.
    
    Change-Id: If955af9d4c10790b767dc9e18b80ea718f33e859
---
 gnu/packages/embedded.scm | 23 +++++++++++------------
 1 file changed, 11 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm
index 870ad8ac17..f5fa70c75d 100644
--- a/gnu/packages/embedded.scm
+++ b/gnu/packages/embedded.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2016, 2017, 2018, 2019, 2023, 2024, 2025 Ricardo Wurmus 
<[email protected]>
+;;; Copyright © 2016-2019, 2023-2026 Ricardo Wurmus <[email protected]>
 ;;; Copyright © 2016, 2017 Theodoros Foradis <[email protected]>
 ;;; Copyright © 2016 David Craven <[email protected]>
 ;;; Copyright © 2017, 2020 Efraim Flashner <[email protected]>
@@ -1069,17 +1069,16 @@ with a layered architecture of JTAG interface and TAP 
support.")
                     "0w0dff3s7wv2d9m78a4jhckiik58q38wx6wpbba5hzbs4yxz35ck"))
                   (patches '())))
         (arguments
-         (list
-          ;; FIXME: For some reason there are many test failures.  It's not
-          ;; obvious how to fix the failures.
-          #:tests? #f
-          #:phases
-          #~(modify-phases %standard-phases
-              (add-after 'unpack 'chdir
-                (lambda _ (chdir "binutils") #t))
-              #$@(substitute-keyword-arguments (package-arguments xbinutils)
-                   ((#:configure-flags flags)
-                    #~(cons "--disable-werror" #$flags))))))
+         (substitute-keyword-arguments (package-arguments xbinutils)
+           ((#:configure-flags flags)
+            #~(cons "--disable-werror" #$flags))
+           ;; FIXME: For some reason there are many test failures.  It's not
+           ;; obvious how to fix the failures.
+           ((#:tests? tests? #false) #false)
+           ((#:phases phases '%standard-phases)
+            `(modify-phases ,phases
+               (add-after 'unpack 'chdir
+                 (lambda _ (chdir "binutils")))))))
         (native-inputs
          `(("bison" ,bison)
            ("flex" ,flex)

Reply via email to