summary refs log tree commit diff
diff options
context:
space:
mode:
authorLéo Le Bouter <lle-bout@zaclys.net>2021-03-10 01:34:11 +0100
committerLéo Le Bouter <lle-bout@zaclys.net>2021-03-10 01:36:26 +0100
commit852ba914a43da0977d4f53b53da7039cdd6706b2 (patch)
treefbe922b07fe43ca085ca430c1310c6e803408761
parent81404a858cc1e51c73ed1af7a842e471cac9b8a7 (diff)
downloadguix-852ba914a43da0977d4f53b53da7039cdd6706b2.tar.gz
gnu: imagemagick/fixed: Retain version length for successful grafting.
* gnu/packages/imagemagick.scm (imagemagick/fixed):
[version]: Append 'g'.
[source]: Hardcode version.
-rw-r--r--gnu/packages/imagemagick.scm7
1 files changed, 5 insertions, 2 deletions
diff --git a/gnu/packages/imagemagick.scm b/gnu/packages/imagemagick.scm
index d7abf6ea03..1a5ddb63d4 100644
--- a/gnu/packages/imagemagick.scm
+++ b/gnu/packages/imagemagick.scm
@@ -130,11 +130,14 @@ text, lines, polygons, ellipses and Bézier curves.")
 (define-public imagemagick/fixed
   (package
     (inherit imagemagick)
-    (version "6.9.12-2")
+    (version "6.9.12-2g") ;; 'g' for 'guix', appended character to retain
+    ;; version length so grafting works properly.
     (source (origin
               (method url-fetch)
               (uri (string-append "mirror://imagemagick/ImageMagick-"
-                                  version ".tar.xz"))
+                                  "6.9.12-2" ;; Hardcode version here since we
+                                  ;; had to change it up there.
+                                  ".tar.xz"))
               (sha256
                (base32
                 "17da5zihz58qm41y61sbvw626m5xfwr2nzszlikrvxyq1j1q7asa"))))))