aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2020-04-24 17:43:38 +0200
committerMarius Bakke <mbakke@fastmail.com>2020-04-24 17:43:38 +0200
commitf568581c2bfb3a7367442c9ccc23613c43f6f1e9 (patch)
treefb1a6a3945582037dca943f9a4be9e2dd18a9ff0 /gnu
parentc57d649de380da890f296428b85564cbc527bbad (diff)
downloadguix-f568581c2bfb3a7367442c9ccc23613c43f6f1e9.tar
guix-f568581c2bfb3a7367442c9ccc23613c43f6f1e9.tar.gz
gnu: emacs-guix: Add support for Guile 3.0.
* gnu/packages/emacs-xyz.scm (emacs-guix)[source](modules, snippet): New fields.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/emacs-xyz.scm11
1 files changed, 10 insertions, 1 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 2a373e7fb1..0197ee5896 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -68,6 +68,7 @@
;;; Copyright © 2020 John Soo <jsoo1@asu.edu>
;;; Copyright © 2020 Jérémy Korwin-Zmijowski <jeremy@korwin-zmijowski.fr>
;;; Copyright © 2020 Alberto Eleuterio Flores Guerrero <barbanegra+guix@posteo.mx>
+;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -2355,7 +2356,15 @@ type, for example: packages, buffers, files, etc.")
"releases/emacs-guix-" version ".tar.gz"))
(sha256
(base32
- "0yz64c0z4ygi2k4af18k4r1ncgys18jb8icywkp2g5pgmpn5l7ps"))))
+ "0yz64c0z4ygi2k4af18k4r1ncgys18jb8icywkp2g5pgmpn5l7ps"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ ;; Add support for Guile 3.0. Remove for versions > 0.5.2.
+ (substitute* "configure"
+ (("\"2\\.2 2\\.0\"")
+ "\"3.0 2.2 2.0\""))
+ #t))))
(build-system gnu-build-system)
(native-inputs
`(("pkg-config" ,pkg-config)