diff options
author | Troy Figiel <troy@troyfigiel.com> | 2024-02-17 11:17:46 +0100 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-02-19 23:19:21 +0000 |
commit | 8abb1e59fd93b4ff81326aa18b5f309d87b0a200 (patch) | |
tree | 66790831ed57a9d69eb4d99eaca6102ab7bdde1e /gnu | |
parent | a72487a9ea621f2d9f926a1d50e3d68228f93896 (diff) | |
download | guix-8abb1e59fd93b4ff81326aa18b5f309d87b0a200.tar.gz guix-8abb1e59fd93b4ff81326aa18b5f309d87b0a200.zip |
gnu: go-github-com-charmbracelet-harmonica: Remove examples.
* gnu/packages/golang.scm (go-github-com-charmbracelet-harmonica): Remove examples.
[arguments] <#:phases>: Add remove-examples phase.
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/golang.scm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index bde0c74859..9db19b2fdc 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -7895,7 +7895,13 @@ use one of our glamorous default themes.") (base32 "1aasg0c0xxhwav4ivm1mqmsqab6lk407xky8c19pb85r1hdbq0n7")))) (build-system go-build-system) (arguments - '(#:import-path "github.com/charmbracelet/harmonica")) + (list + #:import-path "github.com/charmbracelet/harmonica" + #: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"))))))) (home-page "https://github.com/charmbracelet/harmonica") (synopsis "Simple, physics-based animation library") (description |