all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Pierre Neidhardt <mail@ambrevar.xyz>
To: Efraim Flashner <efraim@flashner.co.il>
Cc: help-guix@gnu.org
Subject: Re: Client fails to find package (mame) with guix publish
Date: Tue, 18 Feb 2020 12:57:31 +0100	[thread overview]
Message-ID: <87h7zoqf9w.fsf@ambrevar.xyz> (raw)
In-Reply-To: <20200218114053.GQ1968@E5400>

[-- Attachment #1: Type: text/plain, Size: 1488 bytes --]

Efraim Flashner <efraim@flashner.co.il> writes:

> On Tue, Feb 18, 2020 at 12:31:39PM +0100, Pierre Neidhardt wrote:
>> Hi!
>> 
>> The 'mame' package is not available on ci.guix.gnu.org for some reason,
>> so I did build it locally on my desktop.
>> 
>> Now I'd like to transfer this build artifact to my laptop.
>> 
>> On my desktop I ran
>> 
>> --8<---------------cut here---------------start------------->8---
>> sudo guix archive --generate-key
>> sudo guix publish 
>> --8<---------------cut here---------------end--------------->8---
>
> did you transfer the public key to your other machine and run 'sudo guix
> archive --import < /path/to/public/key'?

That was it, I had forgotten to import the public key!

By the way, it's

--8<---------------cut here---------------start------------->8---
sudo guix archive --authorize < /path/to/public/key
--8<---------------cut here---------------end--------------->8---

not `--import` :)

> Try giving it a few minutes to "bake" the substitute and then serve it.
> It needs to re-compress it to make transfers (at a large scale) more
> economical.

I didn't enable caching so the compression should happen on the fly.

> Doesn't address the substitute/publish problem, but have you tried using
> guix copy to copy it over?

I haven't but I want to use `guix publish` since it provides a more
automated, smoother experience.

Problem solved, thanks!
-- 
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

      reply	other threads:[~2020-02-18 11:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-18 11:31 Client fails to find package (mame) with guix publish Pierre Neidhardt
2020-02-18 11:40 ` Efraim Flashner
2020-02-18 11:57   ` Pierre Neidhardt [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=87h7zoqf9w.fsf@ambrevar.xyz \
    --to=mail@ambrevar.xyz \
    --cc=efraim@flashner.co.il \
    --cc=help-guix@gnu.org \
    /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.