guix-commits
[Top][All Lists]
Advanced

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

02/02: gnu: opensbi: Remove input labels.


From: guix-commits
Subject: 02/02: gnu: opensbi: Remove input labels.
Date: Wed, 24 May 2023 12:19:46 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 1be6baed2b58a75868cdcc9f51b78624c2fefc4f
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed May 24 16:20:02 2023 +0300

    gnu: opensbi: Remove input labels.
    
    * gnu/packages/firmware.scm (make-opensbi-package)[native-inputs]:
    Remove input labels.
---
 gnu/packages/firmware.scm | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm
index 755d40b0fe..7aeec3468b 100644
--- a/gnu/packages/firmware.scm
+++ b/gnu/packages/firmware.scm
@@ -493,12 +493,13 @@ provide OpenFirmware functionality on top of an already 
running system.")
         (base32 "13k76ngmbs6xk8wm0vhc3fjs5w82g34wxs2zf4r27jd79m47xjb5"))))
     (build-system gnu-build-system)
     (native-inputs
-     `(,@(if (and (not (string-prefix? "riscv64" (%current-system)))
-                  (string-prefix? "riscv64" arch))
-           `(("cross-gcc" ,(cross-gcc "riscv64-linux-gnu"))
-             ("cross-binutils" ,(cross-binutils "riscv64-linux-gnu")))
-           '())
-        ("python" ,python)))
+     (append
+       (if (and (not (string-prefix? "riscv64" (%current-system)))
+                (string-prefix? "riscv64" arch))
+         (list (cross-gcc "riscv64-linux-gnu")
+               (cross-binutils "riscv64-linux-gnu"))
+         '())
+       (list python)))
     (arguments
      `(#:tests? #f ; no check target
        #:make-flags (list (string-append "PLATFORM=" ,platform)



reply via email to

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