sharlatan pushed a commit to branch go-team
in repository guix.
commit 89444451a015d8fe40098f5138647d3647a97da2
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Dec 5 22:28:23 2024 +0000
gnu: go-github-com-muesli-termenv: Remove examples.
* gnu/packages/golang-xyz.scm (go-github-com-muesli-termenv)
[arguments]<phases>: Add 'remove-examples.
Change-Id: Ib206b6637ee06f16595528f7ef3be1053a24ccba
---
gnu/packages/golang-xyz.scm | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index a4100b9d5a..d35e1a97b3 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -6091,7 +6091,13 @@ helping you to transform blocks of text.")
(build-system go-build-system)
(arguments
(list
- #:import-path "github.com/muesli/termenv"))
+ #:import-path "github.com/muesli/termenv"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'remove-examples
+ (lambda* (#:key import-path #:allow-other-keys)
+ (delete-file-recursively
+ (string-append "src/" import-path "/examples")))))))
(propagated-inputs
(list go-github-com-aymanbagabas-go-osc52-v2
go-github-com-lucasb-eyer-go-colorful