From ea37595a7c71a430b0d1a2c860b9b0e37ec126bd Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 15 Jan 2023 01:00:29 +0100 Subject: gnu: lirc: Build reproducibly. * gnu/packages/lirc.scm (lirc)[arguments]: Add a new 'omit-pip-sourceball phase. --- gnu/packages/lirc.scm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/gnu/packages/lirc.scm b/gnu/packages/lirc.scm index 5c89e83d7c..58d63cbdab 100644 --- a/gnu/packages/lirc.scm +++ b/gnu/packages/lirc.scm @@ -83,7 +83,15 @@ (define-public lirc (substitute* "doc/Makefile.in" (("^vardocs_DATA =.*") "vardocs_DATA =\n") (("^varimage_DATA =.*") "varimage_DATA =\n")) - #t))))) + #t)) + (add-after 'unpack 'omit-pip-sourceball + ;; ‘make install’ invokes ’setup.py sdist’, which has no known (to + ;; nckx) way to enforce mtimes. The utility of this is questionable, + ;; IMO: let's disable it entirely & listen for complaints, if any. + (lambda _ + (substitute* "Makefile.in" + (("(PYTHON_TARBALL.*=).*" _ tarball=) + (string-append tarball= "\n")))))))) (native-inputs (list pkg-config libxslt)) (inputs -- cgit v1.2.3