1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-15 03:20:43 +02:00

gnu: go-github-com-pierrec-cmdflag: Remove examples.

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

Change-Id: I58bc14d61893ca3d43edc375c3d6c9908ed589c4
This commit is contained in:
Sharlatan Hellseher 2024-12-27 21:07:02 +00:00
parent 5567efc114
commit 6a7a470f80
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -9398,7 +9398,13 @@ protocols.")
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/pierrec/cmdflag"))
#:import-path "github.com/pierrec/cmdflag"
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'remove-examples
(lambda* (#:key tests? import-path #:allow-other-keys)
(with-directory-excursion (string-append "src/" import-path)
(delete-file-recursively "examples")))))))
(home-page "https://github.com/pierrec/cmdflag")
(synopsis "Augment the flag package with commands")
(description