gnu: perl-math-cephes: Build reproducibly.

* gnu/packages/perl-maths.scm (perl-math-cephes)[source]: Sort result of
readdir.
This commit is contained in:
Ricardo Wurmus 2021-12-06 09:35:44 +01:00
parent 764be13ee6
commit cf32c21ecd
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -35,7 +35,12 @@ (define-public perl-math-cephes
version ".tar.gz"))
(sha256
(base32
"18c3xg53d1vv7hlj43601jj7ks119fm6ndpwpv94irr2905806jn"))))
"18c3xg53d1vv7hlj43601jj7ks119fm6ndpwpv94irr2905806jn"))
;; For reproducibility
(modules '((guix build utils)))
(snippet
'(substitute* "libmd/Makefile.PL"
(("readdir DIR") "sort readdir DIR")))))
(build-system perl-build-system)
(home-page "https://metacpan.org/release/Math-Cephes")
(synopsis "Perl interface to the Cephes math library")