guix-commits
[Top][All Lists]
Advanced

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

68/88: gnu: go-github-com-muesli-termenv: Remove examples.


From: guix-commits
Subject: 68/88: gnu: go-github-com-muesli-termenv: Remove examples.
Date: Fri, 6 Dec 2024 16:17:30 -0500 (EST)

sharlatan pushed a commit to branch go-team
in repository guix.

commit 4548247131e166d3d41281f8241dee5b9bb4496a
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Thu Dec 5 22:28:23 2024 +0000

    gnu: go-github-com-muesli-termenv: Remove examples.
    
    * gnu/packages/golang-xyz.scm (go-github-com-muesli-termenv)
    [arguments]<phases>: Add 'remove-examples.
    
    Change-Id: Ib206b6637ee06f16595528f7ef3be1053a24ccba
---
 gnu/packages/golang-xyz.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 81d3bb5a62..b455c1aba1 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -6091,7 +6091,13 @@ helping you to transform blocks of text.")
     (build-system go-build-system)
     (arguments
      (list
-      #:import-path "github.com/muesli/termenv"))
+      #:import-path "github.com/muesli/termenv"
+      #: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")))))))
     (propagated-inputs
      (list go-github-com-aymanbagabas-go-osc52-v2
            go-github-com-lucasb-eyer-go-colorful



reply via email to

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