From 796e8f1d6eafb6d650bcfef45743f5f9704a2131 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Thu, 5 Dec 2024 22:30:43 +0000 Subject: gnu: go-github-com-charmbracelet-lipgloss: Remove examples. * gnu/packages/golang-xyz.scm (go-github-com-charmbracelet-lipgloss) [arguments]: Add 'remove-examples. Change-Id: I4ea4f699df2eb9d1558ba5ac8f6247c5d92214e0 --- gnu/packages/golang-xyz.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'gnu/packages/golang-xyz.scm') diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 66bff24eb0..76bd712322 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -1670,7 +1670,13 @@ (define-public go-github-com-charmbracelet-lipgloss (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 -- cgit v1.2.3