guix-commits
[Top][All Lists]
Advanced

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

01/02: gnu: go-1.17: Simplify native-inputs.


From: guix-commits
Subject: 01/02: gnu: go-1.17: Simplify native-inputs.
Date: Tue, 21 Dec 2021 11:25:24 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 7ccfec3065ffec59b5d285ec6b1dde06ce891781
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Dec 21 18:20:38 2021 +0200

    gnu: go-1.17: Simplify native-inputs.
    
    * gnu/packages/golang.scm (go-1.17)[native-inputs]: Remove unnecessary
    quoting.
---
 gnu/packages/golang.scm | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 71596a9..f03e9cc 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -798,11 +798,11 @@ in the style of communicating sequential processes 
(@dfn{CSP}).")
                   "README.md" "SECURITY.md"))))))))
     (inputs (alist-delete "gcc:lib" (package-inputs go-1.16)))
     (native-inputs
-     `(,@(if (not (member (%current-system) (package-supported-systems 
go-1.4)))
-           ;; gccgo-10.4, 11.3 and lower has a bug which causes bootstrapping
-           ;; to fail. Use go-1.16 until we have a newer version available.
-           (alist-replace "go" (list go-1.16) (package-native-inputs go-1.16))
-           (package-native-inputs go-1.16))))))
+     (if (not (member (%current-system) (package-supported-systems go-1.4)))
+       ;; gccgo-10.4, 11.3 and lower has a bug which causes bootstrapping
+       ;; to fail. Use go-1.16 until we have a newer version available.
+       (alist-replace "go" (list go-1.16) (package-native-inputs go-1.16))
+       (package-native-inputs go-1.16)))))
 
 (define-public go go-1.14)
 



reply via email to

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