From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: How to install prerelease package versions (particularly Emacs) Date: Thu, 12 Apr 2018 14:57:14 +0200 Message-ID: <87efjkmvkl.fsf@elephly.net> References: <871sh1pid1.fsf@gmail.com> <87o9jku2gt.fsf@gmail.com> <87lgeehe5g.fsf@gmail.com> <87lgedx2vn.fsf@gnu.org> <87k1txedot.fsf@gmail.com> <87in9huthf.fsf@gnu.org> <877epwn06z.fsf@gmail.com> <87d0zmhwkl.fsf@gmail.com> <87370hwykf.fsf@gnu.org> <87sh8hiwn5.fsf@gmail.com> <87muypvhh3.fsf@gnu.org> <87tvsh3fkt.fsf@gmail.com> <87vacwddz3.fsf@gmail.com> <873700pz45.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42607) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f6dR9-0005Jz-Ae for help-guix@gnu.org; Thu, 12 Apr 2018 10:42:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f6dR6-0003AM-O8 for help-guix@gnu.org; Thu, 12 Apr 2018 10:42:55 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21017) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f6dR6-0003A2-GZ for help-guix@gnu.org; Thu, 12 Apr 2018 10:42:52 -0400 In-reply-to: <873700pz45.fsf@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Pierre Neidhardt Cc: help-guix@gnu.org Hi Pierre, > Chris Marusich writes: > >> Can you share the package definition? > > Let's start from the most straight-forward: > > (define-public emacs-dev > (package > (inherit emacs) > (name "emacs-dev") > (version "26.0.91") > (source > (local-file "/home/ambrevar/projects/emacs-build" #:recursive? #t)))= ) Here=E2=80=99s mine: --8<---------------cut here---------------start------------->8--- (define-public my/emacs (package (inherit emacs) (name "my-emacs") (version "26.0.91") (source (origin (method url-fetch) (uri (string-append "http://alpha.gnu.org/gnu/emacs/" "pretest/emacs-" version ".tar.xz")) (sha256 (base32 "1841hcqvwnh812gircpv2g9fqarlirh7ixv007hkglqk7qsvpxii")))) (arguments (substitute-keyword-arguments ;; NOTE: I don=E2=80=99t know if the tests pass in this version; t= his ;; is for a much older version. (append '(#:tests? #f ; tests fail in this development version #:configure-flags '("--with-xwidgets=3Dyes")) (package-arguments emacs)))) (inputs `(("libxcomposite" ,libxcomposite) ("webkitgtk+" ,webkitgtk) ;; These two are needed to get HTTPS support in Webkit. ("glib-networking" ,glib-networking) ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) ,@(package-inputs emacs))) ;; This is only needed when building from a git checkout. (native-inputs `(("autoconf" ,autoconf) ("automake" ,automake) ,@(package-native-inputs emacs))))) --8<---------------cut here---------------end--------------->8--- Since I don=E2=80=99t know what the source code looks like, I can only gues= s that maybe you need to bootstrap the build system first. -- Ricardo