all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
To: help-guix@gnu.org, Adrien 'neox' Bourmault <neox@a-lec.org>,
	Jason Self <j@jxself.org>
Subject: Re: Guix 1.4.0+i686: getting ghc substitutes?
Date: Thu, 24 Oct 2024 16:32:33 +0200	[thread overview]
Message-ID: <20241024163233.586b31ec@primary_laptop> (raw)
In-Reply-To: <20241018222605.4a9270e5@primary_laptop>

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

Hi,


On Fri, 18 Oct 2024 22:26:05 +0200
Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> wrote:
[Missing pandoc / ghc substitutes for Guix 1.4.0 for i686]
[...]
> Would it be possible to somehow trigger a build on one of the default
> substitute server to fix this issue?
[...]
> If not we could simply change the Guix revision and somehow publish
> the corresponding manual as well, but using a release probably makes
> things much easier for contributors. Not using Guix by default for
> building the website is also an option.

I've found a better workaround but I'm unsure what is going on under
the hood:

Here the first substitute server has 0 substitutes:
> $ guix time-machine --commit=v1.4.0 -- weather -s i686-linux pandoc
> [...]
> computing 1 package derivations for i686-linux...
> looking for 3 store items on https://ci.guix.gnu.org...
> https://ci.guix.gnu.org ⛈
> 0.0% substitutes available (0 out of 3)

But then the same command also prints that:
> looking for 3 store items on https://bordeaux.guix.gnu.org...
> https://bordeaux.guix.gnu.org ☀
>  100.0% substitutes available (3 out of 3)

And so I end up being able to download these:
> $ guix build \
>   --substitute-urls=https://bordeaux.guix.gnu.org \
>   --system=i686-linux \
>   pandoc
> [...]
> substituting
> /gnu/store/aqxhlbiy3zfcv81y4f439b6x1pcmvynn-pandoc-2.19.2...
> downloading
> from https://bordeaux.guix.gnu.org/nar/lzip/aqxhlbiy3zfcv81y4f439b6x1pcmvynn-pandoc-2.19.2 ... pandoc-2.19.2  10.6MiB                                                                          3.2MiB/s 00:03 ▕██████████████████▏ 100.0%
> 
> /gnu/store/aqxhlbiy3zfcv81y4f439b6x1pcmvynn-pandoc-2.19.2

So this at least works.

But I've no idea why it doesn't fallback on bordeaux when substitutes
are unavailable on ci.guix.gnu.org (maybe there are good reasons for
that).

So at the end a workaround I could do here is to detect if the Bordeaux
substitute is enabled and if so force its use.

Denis.

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2024-10-24 14:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-18 20:26 Guix 1.4.0+i686: getting ghc substitutes? Denis 'GNUtoo' Carikli
2024-10-24 14:32 ` Denis 'GNUtoo' Carikli [this message]
2024-10-25  9:17   ` Andreas Enge
2024-10-26 16:33     ` Denis 'GNUtoo' Carikli

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=20241024163233.586b31ec@primary_laptop \
    --to=gnutoo@cyberdimension.org \
    --cc=help-guix@gnu.org \
    --cc=j@jxself.org \
    --cc=neox@a-lec.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.