gnu: go-github-com-klauspost-reedsolomon: Fix build.

* gnu/packages/golang-xyz.scm (go-github-com-klauspost-reedsolomon)
[phases] <go-generate>: Adjust path after setting default go to 1.24.

Change-Id: Ifae2e34be32da536bd28d4e33ea25a1f800184b2
This commit is contained in:
Sharlatan Hellseher 2025-06-12 11:39:37 +01:00
parent 6633e061eb
commit a38f82e993
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -11718,8 +11718,8 @@ very eas to use.")
(delete-file-recursively "examples"))))
(add-before 'build 'go-generate
(lambda* (#:key import-path #:allow-other-keys)
(with-directory-excursion (string-append "src/" import-path)
(invoke "go" "generate" "-v" "-n" "_gen")))))))
(with-directory-excursion (string-append "src/" import-path "/_gen")
(invoke "go" "generate" "-v" "-n")))))))
(propagated-inputs (list go-github-com-klauspost-cpuid-v2))
(home-page "https://github.com/klauspost/reedsolomon")
(synopsis "Reed-Solomon algorithm implementation in Golang")