* Use package transformation to get commit of eglot
@ 2022-09-01 15:42 jgart
2022-09-01 15:57 ` [EXT] " Thompson, David
0 siblings, 1 reply; 2+ messages in thread
From: jgart @ 2022-09-01 15:42 UTC (permalink / raw)
To: Guix Help
Hi,
Is anyone able to successfully get the latest eglot with a package transformation?
I get the following error for commit 000b7fdce93ed29c505a7fa75baaf87094fd690a:
```
$ guix install emacs-eglot --with-commit=emacs-eglot=000b7fdce93ed29c505a7fa75baaf87094fd690a
guix install: error: the source of emacs-eglot@1.8 is not a Git reference
```
am i doing it all wrong?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [EXT] Use package transformation to get commit of eglot
2022-09-01 15:42 Use package transformation to get commit of eglot jgart
@ 2022-09-01 15:57 ` Thompson, David
0 siblings, 0 replies; 2+ messages in thread
From: Thompson, David @ 2022-09-01 15:57 UTC (permalink / raw)
To: jgart; +Cc: Guix Help
Hi jgart,
On Thu, Sep 1, 2022 at 11:43 AM jgart <jgart@dismail.de> wrote:
>
> Hi,
>
> Is anyone able to successfully get the latest eglot with a package transformation?
>
> I get the following error for commit 000b7fdce93ed29c505a7fa75baaf87094fd690a:
>
> ```
> $ guix install emacs-eglot --with-commit=emacs-eglot=000b7fdce93ed29c505a7fa75baaf87094fd690a
> guix install: error: the source of emacs-eglot@1.8 is not a Git reference
> ```
>
> am i doing it all wrong?
You were very close. The emacs-glot package gets its source code via
https, not git. So you need to additionally apply a transformation
that changes it to a git source. The following command worked for me
to get a successful build:
guix build emacs-eglot
--with-git-url=emacs-eglot=https://github.com/joaotavora/eglot.git
--with-commit=emacs-eglot=000b7fdce93ed29c505a7fa75baaf87094fd690a
Hope this was useful!
- Dave
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-09-01 15:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-01 15:42 Use package transformation to get commit of eglot jgart
2022-09-01 15:57 ` [EXT] " Thompson, David
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.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.