diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-11-28 12:04:27 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-12-16 18:05:58 +0200 |
commit | 6aade039e1007b5fece031d80aade43e108768a4 (patch) | |
tree | 1209c5d67b443623a9fce6f4f28dc19af27a5a0d /tests/go.scm | |
parent | e35dd13d8aa68706ae9630b87dd0558b8c49d6cf (diff) | |
download | guix-6aade039e1007b5fece031d80aade43e108768a4.tar.gz guix-6aade039e1007b5fece031d80aade43e108768a4.zip |
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/go.scm')
-rw-r--r-- | tests/go.scm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/go.scm b/tests/go.scm index a70a0ddbf5..d2e8846b30 100644 --- a/tests/go.scm +++ b/tests/go.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2021 François Joulaud <francois.joulaud@radiofrance.com> -;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev> +;;; Copyright © 2021 François Joulaud <francois.joulaud@radiofrance.com> +;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev> ;;; ;;; This file is part of GNU Guix. ;;; @@ -387,7 +387,7 @@ require github.com/kr/pretty v0.2.1 "0sjjj9z1dhilhpc8pq4154czrb79z9cm044jvn75kxcjv6v5l2m5")))) (build-system go-build-system) (arguments - '(#:import-path "github.com/go-check/check")) + (list #:import-path "github.com/go-check/check")) (propagated-inputs `(("go-github-com-kr-pretty" ,go-github-com-kr-pretty))) (home-page "https://github.com/go-check/check") |