unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Update of Emacs to 26.1.
@ 2018-05-28 19:25 Ricardo Wurmus
  2018-05-28 19:51 ` Mathieu Othacehe
  2018-05-29  9:34 ` Alex Kost
  0 siblings, 2 replies; 9+ messages in thread
From: Ricardo Wurmus @ 2018-05-28 19:25 UTC (permalink / raw)
  To: Mathieu Othacehe; +Cc: guix-devel

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 <rekado@elephly.net>
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

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-05-29 16:35 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-28 19:25 Update of Emacs to 26.1 Ricardo Wurmus
2018-05-28 19:51 ` Mathieu Othacehe
2018-05-28 20:20   ` Ricardo Wurmus
2018-05-29  9:34 ` Alex Kost
2018-05-29 11:32   ` Ricardo Wurmus
2018-05-29 11:46     ` Mathieu Othacehe
2018-05-29 12:03       ` Ricardo Wurmus
2018-05-29 12:15         ` Mathieu Othacehe
2018-05-29 16:35     ` Alex Kost

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).