mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
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.
This commit is contained in:
parent
8727e0304b
commit
7647c0dec9
1 changed files with 11 additions and 0 deletions
|
@ -44,6 +44,17 @@ (define-public tbb
|
|||
(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…
Reference in a new issue