diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-12-29 16:15:57 +0000 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-01-21 23:42:36 +0000 |
commit | ccbb165fb2ff4ce82a90db0ecd2a8bde8fe896ba (patch) | |
tree | 0153da84aa71fb9261ab2d1efc536d16105df953 | |
parent | 9783b8b9747cf702a6ad9100fbdd9c5cb207826e (diff) |
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
-rw-r--r-- | gnu/packages/golang-xyz.scm | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 5246df21d5..e241f9de40 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -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 |