guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: guix-commits
Subject: 05/32: gnu: go-github-com-schollz-progressbar-v3: Remove examples.
Date: Mon, 19 Feb 2024 18:40:50 -0500 (EST)

sharlatan pushed a commit to branch master
in repository guix.

commit d6cc85825feedba6a15717cc5e835b79aec5cb12
Author: Troy Figiel <troy@troyfigiel.com>
AuthorDate: Tue Feb 13 20:47:14 2024 +0100

    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
---
 gnu/packages/golang.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index d95569cca1..ed34e16f27 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?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]