From 4dc9cd218dc089eb11ce1390a9db16849e957f8d Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Thu, 29 Aug 2024 23:59:02 +0100 Subject: gnu: go-github-com-hashicorp-golang-lru-v2: Delete submodule. The submodule needs to be packed as dedicated package. It would easy the job for the importer as it contains it's own go.mod file. * gnu/packages/golang-xyz.scm (go-github-com-hashicorp-golang-lru-v2) [source]: Delete "arc" submodule. Change-Id: Iaace717e530e49a2c910ac6e78f3f2fec3a2b7ca --- gnu/packages/golang-xyz.scm | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 5e66c9e082..82f95314c2 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -3216,7 +3216,16 @@ Groupcache.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0lb2ylv2bz6lsqhn6c2hsafjjcx0hsdbah6arhb778g3xbkpgvf3")))) + (base32 "0lb2ylv2bz6lsqhn6c2hsafjjcx0hsdbah6arhb778g3xbkpgvf3")) + (modules '((guix build utils))) + (snippet + #~(begin + ;; Submodule(s) with their own go.mod files and packed as + ;; separated packages: + ;; + ;; - github.com/hashicorp/golang-lru/arc/v2 + (for-each delete-file-recursively + (list "arc")))))) (build-system go-build-system) (arguments (list -- cgit v1.2.3