gnu: go-github-com-montanaflynn-stats: Fix build.

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

Change-Id: Ib07cd22ea3e7b1ae6fb20748a3458cd5bc913b9a
This commit is contained in:
Sharlatan Hellseher 2024-12-15 18:52:36 +00:00
parent 951eaefb8f
commit 8917b83742
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -131,7 +131,13 @@ and GCCs decimal extension.")
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/montanaflynn/stats"))
#:import-path "github.com/montanaflynn/stats"
#: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/montanaflynn/stats")
(synopsis "Statistics library for Golang")
(description