[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs-25 and Hydra
From: |
Ricardo Wurmus |
Subject: |
Re: emacs-25 and Hydra |
Date: |
Tue, 17 Nov 2015 06:41:15 +0100 |
User-agent: |
mu4e 0.9.13; emacs 24.5.1 |
Xue Fuqiao <address@hidden> writes:
> The Emacs continuous build on Hydra doesn't have a jobset for the
> emacs-25 branch[1]. Does anyone know how to add one?
I don’t know how to add a jobset to NixOS’s hydra instance. (Though I
see that there’s “emacs-trunk” already.)
Another thing that could be done is add a package variant for emacs-next
to GNU Guix, which would make our instance of Hydra build it.
Currently, there are only builds for Emacs 24.5 and latest Guile Emacs:
http://hydra.gnu.org/search?query=emacs
Adding a recipe like this to ‘gnu/packages/emacs.scm’ should be
sufficient:
(define-public emacs-next
(let ((commit "1721600d24"))
(package (inherit emacs)
(name "emacs-next")
(version (string-append "20151117." commit))
(source (origin
(method git-fetch)
(uri (git-reference
(url "git://git.sv.gnu.org/emacs.git")
(commit commit)))
(sha256
(base32
"0m2xymficfw10iny4v58ksw4gys1bv4zg0y29dx40wv2jfll9h2h"))))
(native-inputs
`(("autoconf" ,autoconf)
("automake" ,automake)
,@(package-native-inputs emacs)))
(arguments
(substitute-keyword-arguments (package-arguments emacs)
((#:phases phases)
`(modify-phases ,phases
(add-after 'unpack 'autogen
(lambda _
(zero? (system* "sh" "autogen.sh")))))))))))
Note that this won’t automatically be updated to the latest commit. It
would have to be updated manually, which probably is not what you want.
~~ Ricardo