guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug#42738] [PATCH v4] gnu: emacs: Update to 27.1.


From: Ludovic Courtès
Subject: Re: [bug#42738] [PATCH v4] gnu: emacs: Update to 27.1.
Date: Sat, 29 Aug 2020 12:13:11 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

Hi,

Mark H Weaver <mhw@netris.org> skribis:

> (define-public emacs-next
>   (let ((commit "c36c5a3dedbb2e0349be1b6c3b7567ea7b594f1c")
>         (revision "0")
>         (emacs-version "27.0.91"))
>     (package
>       (inherit emacs)
>       (name "emacs-next")
>       (version (git-version emacs-version revision commit))
>       (source
>        (origin
>          (inherit (package-source emacs))
>          (method git-fetch)
>          (uri (git-reference
>                (url "https://git.savannah.gnu.org/git/emacs.git";)
>                (commit commit)))

This can be handled with ‘--with-git-url’.

>          (sha256
>           (base32 "0mlrg2npy1r79laahkgzhxd1qassfcdz8qk1cpw7mqgf6y5x505h"))
>          (file-name (git-file-name name version))))
>       (native-inputs
>        `(("autoconf" ,autoconf)      ; needed when building from trunk
>          ,@(package-native-inputs emacs)))

For this, we’d need a new ‘--with-extra-input’ package transformation
option or similar.  That way, we wouldn’t even need an ‘emacs-next’
package: people would just run

  guix install emacs --with-git-url=… --with-extra-input=autoconf

OTOH it’s more typing and not necessarily obvious…

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]