~ruther/guix-local

796e8f1d6eafb6d650bcfef45743f5f9704a2131 — Sharlatan Hellseher 1 year, 5 months ago 68dafa0
gnu: go-github-com-charmbracelet-lipgloss: Remove examples.

* gnu/packages/golang-xyz.scm (go-github-com-charmbracelet-lipgloss)
[arguments]<phases>: Add 'remove-examples.

Change-Id: I4ea4f699df2eb9d1558ba5ac8f6247c5d92214e0
1 files changed, 7 insertions(+), 1 deletions(-)

M gnu/packages/golang-xyz.scm
M gnu/packages/golang-xyz.scm => gnu/packages/golang-xyz.scm +7 -1
@@ 1670,7 1670,13 @@ tools.")
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/charmbracelet/lipgloss"))
      #:import-path "github.com/charmbracelet/lipgloss"
      #: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-udiff
           go-github-com-charmbracelet-x-ansi