* [bug#69113] [PATCH] gnu: go-github-com-schollz-progressbar-v3: Remove examples.
@ 2024-02-13 19:47 Troy Figiel
2024-02-19 23:53 ` bug#69113: " Sharlatan Hellseher
0 siblings, 1 reply; 2+ messages in thread
From: Troy Figiel @ 2024-02-13 19:47 UTC (permalink / raw)
To: 69113
* gnu/packages/golang.scm (go-github-com-schollz-progressbar-v3): Remove
examples.
[arguments]<#:phases>: Add remove-examples phase.
---
gnu/packages/golang.scm | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 25e9715c79..c317e40979 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10227,6 +10227,10 @@ (define-public go-github-com-schollz-progressbar-v3
(list #:import-path "github.com/schollz/progressbar/v3"
#: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"))))
(replace 'check
(lambda* (#:key tests? import-path #:allow-other-keys)
(when tests?
base-commit: ac470c516e19f194228edf9e348bdbc7fc10f97a
--
2.42.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-02-19 23:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-13 19:47 [bug#69113] [PATCH] gnu: go-github-com-schollz-progressbar-v3: Remove examples Troy Figiel
2024-02-19 23:53 ` bug#69113: " Sharlatan Hellseher
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.