summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2020-03-25 18:21:20 +0100
committerMarius Bakke <mbakke@fastmail.com>2020-03-26 22:35:37 +0100
commit2c5bc95a19d6a36e6e3568ccb59f10d7f232364f (patch)
treeaefaf18b803eeddde9f2441b373dda8f1919e2ee /gnu/packages
parent0eb56ccbd6ebe1b441cb2a0200f19dff0df72f0e (diff)
downloadguix-2c5bc95a19d6a36e6e3568ccb59f10d7f232364f.tar.gz
gnu: ImageMagick: Build reproducibly.
Fixes <https://bugs.gnu.org/38449>.

* gnu/packages/imagemagick.scm (imagemagick)[arguments]: In #:configure-flags,
add "--enable-reproducible-build".

(cherry picked from commit 87bc9f022cdd3487e85cf83cf82222315246abf9)
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/imagemagick.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/packages/imagemagick.scm b/gnu/packages/imagemagick.scm
index 0adb3fb79a..6fc7e6d201 100644
--- a/gnu/packages/imagemagick.scm
+++ b/gnu/packages/imagemagick.scm
@@ -58,7 +58,11 @@
                "0fcbcad95wn0q0pdfl0qgycm30f3a7xhskc0r5icldq6v6l4b3is"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:configure-flags '("--with-frozenpaths" "--without-gcc-arch")
+     `(#:configure-flags '("--with-frozenpaths" "--without-gcc-arch"
+
+                           ;; Do not embed the build date in binaries.
+                           "--enable-reproducible-build")
+
        ;; FIXME: The test suite succeeded before version 6.9.6-2.
        ;; Try enabling it again with newer releases.
        #:tests? #f