diff options
author | Christina O'Donnell <cdo@mutix.org> | 2024-03-16 10:26:05 +0000 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-11-09 21:33:40 +0000 |
commit | 18a77fb3f85423e351a99a916ec023024adfc49c (patch) | |
tree | 05f9c2845dda299b67b02367d1fe7ecf01eb9b50 /nix | |
parent | ecdca86e1ce93ff22b0ad2c40b141b1b0d506418 (diff) | |
download | guix-18a77fb3f85423e351a99a916ec023024adfc49c.tar.gz guix-18a77fb3f85423e351a99a916ec023024adfc49c.zip |
build-system/go: Add subdir parameter to go-version->git-ref.
This implements logic to handle cases where Go can have multiple modules
at different versions within a single repository. It distinguishes their
releases by using tags along with their subdirectories. See
https://go.dev/ref/mod#vcs-version.
* guix/build-system/go.scm (go-version->git-ref): Add <#:subdir> keyword
parameter and extend condition checks.
Change-Id: I68bc9e785e49877bb0b756de8458308549f4c957
Co-authored-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'nix')
0 files changed, 0 insertions, 0 deletions