diff options
author | Vagrant Cascadian <vagrant@reproducible-builds.org> | 2022-06-05 21:00:37 -0700 |
---|---|---|
committer | Vagrant Cascadian <vagrant@debian.org> | 2022-06-05 21:37:27 -0700 |
commit | ae1d8d6a6f3eb3f705394061be5fcf0efa996870 (patch) | |
tree | 7c3e43f558c41028a2efb42117dc541995ac0031 | |
parent | ce6d8ca4430e7df27c77e116a677679f241551da (diff) | |
download | guix-ae1d8d6a6f3eb3f705394061be5fcf0efa996870.tar guix-ae1d8d6a6f3eb3f705394061be5fcf0efa996870.tar.gz |
gnu: timescaledb: Do not embed running kernel version.
* gnu/packages/databases.scm (timescaledb)[arguments]: Add
'remove-kernel-version phase.
-rw-r--r-- | gnu/packages/databases.scm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index d8f5861b89..3248f41ac3 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -1345,6 +1345,13 @@ pictures, sounds, or video.") "src/loader/CMakeLists.txt") (("\\$\\{PG_PKGLIBDIR\\}") (string-append #$output "/lib"))))) + (add-after 'unpack 'remove-kernel-version + ;; Do not embed the running kernel version for reproducible + ;; builds + (lambda _ + (substitute* "src/config.h.in" + (("BUILD_OS_VERSION ..CMAKE_SYSTEM_VERSION.") + "BUILD_OS_VERSION \"")))) ;; Run the tests after install to make it easier to create the ;; required PostgreSQL+TimescaleDB filesystem union. (delete 'check) |