From d6cc85825feedba6a15717cc5e835b79aec5cb12 Mon Sep 17 00:00:00 2001 From: Troy Figiel Date: Tue, 13 Feb 2024 20:47:14 +0100 Subject: [PATCH] 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 Change-Id: Ib1aa91160a8e94624d484654572da1b89305e076 --- gnu/packages/golang.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index d95569cca1b2cfe8033f0408361a39ce9009f3c0..ed34e16f27f5b072a1986f68d2cb268824cbd76c 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -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?