From cf32c21ecd3d9454e914db0c608d838c0790e1d1 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 6 Dec 2021 09:35:44 +0100 Subject: [PATCH] gnu: perl-math-cephes: Build reproducibly. * gnu/packages/perl-maths.scm (perl-math-cephes)[source]: Sort result of readdir. --- gnu/packages/perl-maths.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gnu/packages/perl-maths.scm b/gnu/packages/perl-maths.scm index 4f70c85fcf..b1110f94d2 100644 --- a/gnu/packages/perl-maths.scm +++ b/gnu/packages/perl-maths.scm @@ -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")