summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-11-28 12:04:27 +0200
committerEfraim Flashner <efraim@flashner.co.il>2023-12-16 18:05:58 +0200
commit6aade039e1007b5fece031d80aade43e108768a4 (patch)
tree1209c5d67b443623a9fce6f4f28dc19af27a5a0d /tests
parente35dd13d8aa68706ae9630b87dd0558b8c49d6cf (diff)
guix: import: Report go version for go importer.
* guix/import/go.scm (go-package, go.mod-go-version): New procedures. (go-module->guix-package): Add the #:go keyword in the generated package definition if the required go is newer than the default go. * tests/go.scm (mock-http-get): Use gexps for package arguments. Change-Id: I8d005740a442330ac307a40a53764c803ceffc4f
Diffstat (limited to 'tests')
-rw-r--r--tests/go.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/go.scm b/tests/go.scm
index a70a0ddbf57..d2e8846b30c 100644
--- a/tests/go.scm
+++ b/tests/go.scm
@@ -1,6 +1,6 @@
1;;; GNU Guix --- Functional package management for GNU 1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2021 François Joulaud <francois.joulaud@radiofrance.com> 2;;; Copyright © 2021 François Joulaud <francois.joulaud@radiofrance.com>
3;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev> 3;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
4;;; 4;;;
5;;; This file is part of GNU Guix. 5;;; This file is part of GNU Guix.
6;;; 6;;;
@@ -387,7 +387,7 @@ require github.com/kr/pretty v0.2.1
387 "0sjjj9z1dhilhpc8pq4154czrb79z9cm044jvn75kxcjv6v5l2m5")))) 387 "0sjjj9z1dhilhpc8pq4154czrb79z9cm044jvn75kxcjv6v5l2m5"))))
388 (build-system go-build-system) 388 (build-system go-build-system)
389 (arguments 389 (arguments
390 '(#:import-path "github.com/go-check/check")) 390 (list #:import-path "github.com/go-check/check"))
391 (propagated-inputs 391 (propagated-inputs
392 `(("go-github-com-kr-pretty" ,go-github-com-kr-pretty))) 392 `(("go-github-com-kr-pretty" ,go-github-com-kr-pretty)))
393 (home-page "https://github.com/go-check/check") 393 (home-page "https://github.com/go-check/check")