diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2023-01-15 01:00:29 +0100 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2023-01-15 01:00:00 +0100 |
commit | ea37595a7c71a430b0d1a2c860b9b0e37ec126bd (patch) | |
tree | f31cde06a1849ed492548947da3c1053f198120b /gnu | |
parent | 598e43c9dfdb95ab299909478f894fb5f968a972 (diff) | |
download | guix-ea37595a7c71a430b0d1a2c860b9b0e37ec126bd.tar.gz guix-ea37595a7c71a430b0d1a2c860b9b0e37ec126bd.zip |
gnu: lirc: Build reproducibly.
* gnu/packages/lirc.scm (lirc)[arguments]: Add a new 'omit-pip-sourceball phase.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/lirc.scm | 10 |
1 files changed, 9 insertions, 1 deletions
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 @@ (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 |