From a1770a0d4aaba946c19fb11e7b122db73c5ff3b3 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Thu, 5 Dec 2024 22:28:23 +0000 Subject: gnu: go-github-com-muesli-termenv: Remove examples. * gnu/packages/golang-xyz.scm (go-github-com-muesli-termenv) [arguments]: Add 'remove-examples. Change-Id: Ib206b6637ee06f16595528f7ef3be1053a24ccba --- 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 76bd712322..cab61f78a2 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -6091,7 +6091,13 @@ (define-public go-github-com-muesli-termenv (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 -- cgit v1.2.3