From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ricardo Wurmus Newsgroups: gmane.emacs.devel Subject: Re: emacs-25 and Hydra Date: Tue, 17 Nov 2015 06:41:15 +0100 Message-ID: <876111npxg.fsf@elephly.net> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1447738923 3699 80.91.229.3 (17 Nov 2015 05:42:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 Nov 2015 05:42:03 +0000 (UTC) Cc: rgm@gnu.org, Emacs-devel To: Xue Fuqiao Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 17 06:41:47 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZyZ1Q-0002p2-Al for ged-emacs-devel@m.gmane.org; Tue, 17 Nov 2015 06:41:40 +0100 Original-Received: from localhost ([::1]:55791 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyZ1P-00030e-Eu for ged-emacs-devel@m.gmane.org; Tue, 17 Nov 2015 00:41:39 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40958) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyZ1D-0002zw-FE for emacs-devel@gnu.org; Tue, 17 Nov 2015 00:41:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZyZ1A-0002p8-8L for emacs-devel@gnu.org; Tue, 17 Nov 2015 00:41:27 -0500 Original-Received: from sender163-mail.zoho.com ([74.201.84.163]:24370) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyZ1A-0002nl-0j; Tue, 17 Nov 2015 00:41:24 -0500 Original-Received: from localhost (x2f779ff.dyn.telefonica.de [2.247.121.255]) by mx.zohomail.com with SMTPS id 1447738881054186.99072310684767; Mon, 16 Nov 2015 21:41:21 -0800 (PST) User-agent: mu4e 0.9.13; emacs 24.5.1 In-reply-to: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 74.201.84.163 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:194629 Archived-At: Xue Fuqiao 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