[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [EXT] Use package transformation to get commit of eglot
From: |
Thompson, David |
Subject: |
Re: [EXT] Use package transformation to get commit of eglot |
Date: |
Thu, 1 Sep 2022 11:57:07 -0400 |
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