diff options
Diffstat (limited to 'gnu/packages/golang-maths.scm')
-rw-r--r-- | gnu/packages/golang-maths.scm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/golang-maths.scm b/gnu/packages/golang-maths.scm index 6eefad5ecd..4d5515c82d 100644 --- a/gnu/packages/golang-maths.scm +++ b/gnu/packages/golang-maths.scm @@ -131,7 +131,13 @@ and GCC’s 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 |