guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Update of Emacs to 26.1.


From: Ricardo Wurmus
Subject: Update of Emacs to 26.1.
Date: Mon, 28 May 2018 21:25:54 +0200
User-agent: mu4e 1.0; emacs 25.3.1

Hi Mathieu,

I saw that you updated the “emacs” package to 26.1.  Thank you!  Shortly
thereafter you reverted that change with a comment about better doing
this on core-updates.

Could you please explain why?

The update did break “emacs-minimal” and thus all Emacs packages, but
that can be fixed by passing “--with-gnutls=no” to emacs-minimal:

--8<---------------cut here---------------start------------->8---
commit 34b24b68b0b06716280f0040e5ee9381ccd640ad
Author: Ricardo Wurmus <address@hidden>
Date:   Mon May 28 19:16:13 2018 +0200

    gnu: emacs-minimal: Fix build by disabling gnutls support.
    
    This is a follow-up to bb82c3d42bb95588f40394f4d71f915654c0e643.
    
    * gnu/packages/emacs.scm (emacs-minimal)[arguments]: Disable gnutls support.

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index fc7f52a32..ab7ecf033 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -244,10 +244,11 @@ languages.")
     (synopsis "The extensible text editor (used only for byte-compilation)")
     (build-system gnu-build-system)
     (arguments
-     (substitute-keyword-arguments (package-arguments emacs)
-       ((#:phases phases)
-        `(modify-phases ,phases
-           (delete 'install-site-start)))))
+     `(#:configure-flags (list "--with-gnutls=no")
+       ,@(substitute-keyword-arguments (package-arguments emacs)
+           ((#:phases phases)
+            `(modify-phases ,phases
+               (delete 'install-site-start))))))
     (inputs
      `(("ncurses" ,ncurses)))
     (native-inputs
--8<---------------cut here---------------end--------------->8---

The update causes about 380 packages to be rebuilt, but many of them are
small Emacs packages that are quick to build.

I don’t think Emacs updates need to be done on core-updates.

-- 
Ricardo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]