all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: Xue Fuqiao <xfq.free@gmail.com>
Cc: rgm@gnu.org, Emacs-devel <emacs-devel@gnu.org>
Subject: Re: emacs-25 and Hydra
Date: Tue, 17 Nov 2015 06:41:15 +0100	[thread overview]
Message-ID: <876111npxg.fsf@elephly.net> (raw)
In-Reply-To: <CAAF+z6Ee0wwBpDnV2vkUMLkM+Q6qz8r-zS8L8NLU1-AV-vSrQg@mail.gmail.com>


Xue Fuqiao <xfq.free@gmail.com> 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




  reply	other threads:[~2015-11-17  5:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-17  0:55 emacs-25 and Hydra Xue Fuqiao
2015-11-17  5:41 ` Ricardo Wurmus [this message]
2015-11-18 18:08 ` Glenn Morris
2015-11-19  6:17   ` Xue Fuqiao

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=876111npxg.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=emacs-devel@gnu.org \
    --cc=rgm@gnu.org \
    --cc=xfq.free@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.