diff options
author | Vagrant Cascadian <vagrant@reproducible-builds.org> | 2022-06-09 21:35:14 -0700 |
---|---|---|
committer | Vagrant Cascadian <vagrant@debian.org> | 2022-06-09 21:44:23 -0700 |
commit | 7795a5dd6bb16ee5ec938ba26b91f69459639189 (patch) | |
tree | 256564977025794b7eeb711ef8e69dd3c9f5f65b | |
parent | 01596f40a994a2bb39dde5867ca66e9f7e9e67e0 (diff) | |
download | guix-7795a5dd6bb16ee5ec938ba26b91f69459639189.tar guix-7795a5dd6bb16ee5ec938ba26b91f69459639189.tar.gz |
gnu: python-miniupnpc: Do not embed running kernel version.
* gnu/packages/python-xyz.scm (python-miniupnpc)[arguments]: Add
'remove-kernel-version phase.
-rw-r--r-- | gnu/packages/python-xyz.scm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 5f9ce4fdfe..a6b412e799 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -3086,7 +3086,13 @@ server.") (chdir "miniupnpc") (setenv "CC" #$(cc-for-target)) (substitute* "Makefile" - (("/bin/sh") (search-input-file inputs "/bin/sh")))))))) + (("/bin/sh") (search-input-file inputs "/bin/sh"))))) + (add-before 'subdir 'remove-kernel-version + ;; Avoid embedding the running kernel version for reproducible builds + (lambda _ + (substitute* + "miniupnpc/updateminiupnpcstrings.sh" + (("^OS_VERSION=`uname -r`") "OS_VERSION=Guix"))))))) (inputs (list python)) ;we are building a Python extension (synopsis "UPnP client for Python") (description "Miniupnpc is a client library for Python programs to set up |