all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Thompson, David" <dthompson2@worcester.edu>
To: jgart <jgart@dismail.de>
Cc: Guix Help <help-guix@gnu.org>
Subject: Re: [EXT] Use package transformation to get commit of eglot
Date: Thu, 1 Sep 2022 11:57:07 -0400	[thread overview]
Message-ID: <CAJ=RwfZidJ82-zMvuZ7GtHbC8sBxQ8J=gukczZvUanBRMMO1mQ@mail.gmail.com> (raw)
In-Reply-To: <20220901104211.GB7047@gac>

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


      reply	other threads:[~2022-09-01 15:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-01 15:42 Use package transformation to get commit of eglot jgart
2022-09-01 15:57 ` Thompson, David [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJ=RwfZidJ82-zMvuZ7GtHbC8sBxQ8J=gukczZvUanBRMMO1mQ@mail.gmail.com' \
    --to=dthompson2@worcester.edu \
    --cc=help-guix@gnu.org \
    --cc=jgart@dismail.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.