1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-14 19:10:49 +02:00

gnu: go-github-com-expr-lang-expr: Fix build.

* gnu/packages/golang-xyz.scm (go-github-com-expr-lang-expr) [source]
<snippet>: Delete submodules with their own go.mod files which need to
be packed separately.

Change-Id: Ie99734135bf8fdc4525b856d232485501cdd12d7
This commit is contained in:
Sharlatan Hellseher 2024-12-29 16:15:57 +00:00
parent 9783b8b974
commit ccbb165fb2
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -4045,7 +4045,16 @@ more similar API to regexp."))))
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "08p7gcxm7psgn1rzhhy2s2va59ssy77x8wd706gdp2pif7wln883"))))
(base32 "08p7gcxm7psgn1rzhhy2s2va59ssy77x8wd706gdp2pif7wln883"))
(modules '((guix build utils)))
(snippet
#~(begin
;; Submodules with their own go.mod files and packaged separately:
;;
;; - github.com/expr-lang/expr/repl
;; - github.com/expr-lang/expr/debug
(for-each delete-file-recursively
(list "repl" "debug"))))))
(build-system go-build-system)
(arguments
(list