Hi, Mark H Weaver <m...@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’.