me
/
guix
Archived
1
0
Fork 0

gnu: go-github-com-schollz-progressbar-v3: Remove examples.

* gnu/packages/golang.scm (go-github-com-schollz-progressbar-v3): Remove
examples.
[arguments] <#:phases>: Add remove-examples phase.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: Ib1aa91160a8e94624d484654572da1b89305e076
master
Troy Figiel 2024-02-13 20:47:14 +01:00 committed by Sharlatan Hellseher
parent 643900518d
commit d6cc85825f
No known key found for this signature in database
GPG Key ID: 76D727BFF62CD2B5
1 changed files with 4 additions and 0 deletions

View File

@ -10243,6 +10243,10 @@ kubernetes-sigs/yaml is a permanent fork of
(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?