diff options
author | Sarah Morgensen <iskarian@mgsn.dev> | 2021-09-28 19:59:32 -0700 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-10-04 16:36:59 +0200 |
commit | 834ff65e8525a9a90545b34504a9098142e3163b (patch) | |
tree | 805212aecb16b2f0bb74e3f2a49a38f15f713238 /guix/lint.scm | |
parent | ac43ead7741357cb620d6a0eb80ae754851b8fa1 (diff) |
import: go: Recognize major version suffixes.
Do not treat major version suffixes (such as "/v3") as repository
subdirectories. See <https://golang.org/ref/mod#major-version-suffixes>.
* guix/import/go.scm (go-module->guix-package): When determining the
unpack path, compare 'root-module-path' to 'module-path-sans-suffix'
instead of 'module-path'.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'guix/lint.scm')
0 files changed, 0 insertions, 0 deletions