[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: timescaledb: Do not embed running kernel ver
From: |
guix-commits |
Subject: |
branch master updated: gnu: timescaledb: Do not embed running kernel version. |
Date: |
Mon, 06 Jun 2022 01:03:01 -0400 |
This is an automated email from the git hooks/post-receive script.
vagrantc pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new ae1d8d6a6f gnu: timescaledb: Do not embed running kernel version.
ae1d8d6a6f is described below
commit ae1d8d6a6f3eb3f705394061be5fcf0efa996870
Author: Vagrant Cascadian <vagrant@reproducible-builds.org>
AuthorDate: Sun Jun 5 21:00:37 2022 -0700
gnu: timescaledb: Do not embed running kernel version.
* gnu/packages/databases.scm (timescaledb)[arguments]: Add
'remove-kernel-version phase.
---
gnu/packages/databases.scm | 7 +++++++
1 file changed, 7 insertions(+)
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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: timescaledb: Do not embed running kernel version.,
guix-commits <=