Browse Source

gnu: tbb: Build in a reproducible fashion.

Fixes <https://bugs.gnu.org/37522>.

* gnu/packages/tbb.scm (tbb)[source](snippets): Annihilate attempts to
capture the build time and kernel version.
wip-system-bootstrap
Ludovic Courtès 2 years ago
parent
commit
7647c0dec9
No known key found for this signature in database GPG Key ID: 90B11993D9AEBB5
  1. 11
      gnu/packages/tbb.scm

11
gnu/packages/tbb.scm

@ -44,6 +44,17 @@
(substitute* "build/common.inc"
(("export tbb_build_prefix.+$")
"export tbb_build_prefix?=guix\n"))
;; Don't capture the build time and kernel version.
(substitute* "build/version_info_linux.sh"
(("uname -srv") "uname -s")
(("`date -u`") "01 Jan 1970"))
(substitute* "build/linux.inc"
(("os_kernel_version:=.*")
"os_kernel_version:=5\n")
(("os_version:=.*")
"os_version:=1\n"))
#t))))
(outputs '("out" "doc"))
(build-system gnu-build-system)

Loading…
Cancel
Save