~ruther/guix-local

d6cc85825feedba6a15717cc5e835b79aec5cb12 — Troy Figiel 2 years ago 6439005
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
1 files changed, 4 insertions(+), 0 deletions(-)

M gnu/packages/golang.scm
M gnu/packages/golang.scm => gnu/packages/golang.scm +4 -0
@@ 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?