diff options
author | Vagrant Cascadian <vagrant@reproducible-builds.org> | 2022-06-09 13:53:33 -0700 |
---|---|---|
committer | Vagrant Cascadian <vagrant@debian.org> | 2022-06-09 14:51:29 -0700 |
commit | e92508baebebb4306779e6f4e2dff8c838b389cd (patch) | |
tree | 91f6bfbda4382191d9d79484c4aecb25544a5d86 | |
parent | e1383bfa6a3ab69edaa3e05e7302b73e8d3c5aa5 (diff) | |
download | guix-e92508baebebb4306779e6f4e2dff8c838b389cd.tar.gz |
gnu: vtk@7: Do not embed running kernel version.
* gnu/packages/image-processing.scm (vtk-7)[arguments]: Add 'remove-kernel-version phase.
-rw-r--r-- | gnu/packages/image-processing.scm | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gnu/packages/image-processing.scm b/gnu/packages/image-processing.scm index f4bf1724b4..0c7bae183c 100644 --- a/gnu/packages/image-processing.scm +++ b/gnu/packages/image-processing.scm @@ -435,7 +435,16 @@ integrates with various databases on GUI toolkits such as Qt and Tk.") ((#:configure-flags flags) ;; Otherwise, the build would fail with: "error: invalid conversion ;; from ‘const char*’ to ‘char*’ [-fpermissive]". - `(cons "-DCMAKE_CXX_FLAGS=-fpermissive" ,flags)))))) + `(cons "-DCMAKE_CXX_FLAGS=-fpermissive" ,flags)) + ((#:phases phases) + #~(modify-phases #$phases + (add-after 'unpack 'remove-kernel-version + ;; Avoid embedding the kernel version for reproducible builds + (lambda _ + (substitute* + "ThirdParty/hdf5/vtkhdf5/config/cmake/libhdf5.settings.cmake.in" + (("Host system: .CMAKE_HOST_SYSTEM.") + "Host system: @CMAKE_SYSTEM_NAME@")))))))))) (define-public opencv (package |