From: "pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de>
To: Andreas Enge <andreas@enge.fr>
Cc: "Vagrant Cascadian" <vagrant@debian.org>,
"André A. Gomes" <andremegafone@gmail.com>,
"Nigko Yerden" <nigko.yerden@gmail.com>,
help-guix@gnu.org
Subject: Re: No 'guix pull' substitutes for foreign distros?
Date: Mon, 20 May 2024 01:42:18 +0200 [thread overview]
Message-ID: <87seyd9xnp.fsf@pelzflorian.de> (raw)
In-Reply-To: <ZkpeaS3iBuEnUCFo@jurong> (Andreas Enge's message of "Sun, 19 May 2024 22:17:45 +0200")
Hello all, the missing substitutes in Debian can be worked around; Nigko
and I discussed in bug#70954 by editing
/etc/systemd/services/multi-user.target.wants/guix-daemon.service this way:
Nigko Yerden <nigko.yerden@gmail.com> writes:
<https://lists.gnu.org/archive/html/bug-guix/2024-05/msg00147.html>:
> Hello Florian,
>
> These are great news! Thanks a lot for investigating this!
>
> Indeed, foreign distros still run guix-daemon from Guix v1.4,
> which is very old now. It makes sense that old guix-daemon + recent
> remaining parts of Guix might have produced modified derivations.
>
> For foreign distros using systemd, the following workaround may be
> useful to replace old guix-daemon by guix-daemon from USER profile:
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~guix-daemon.service
> ...
> [Service]
> ExecStart=/home/USER/.config/guix/current/bin/guix-daemon \
> --build-users-group=_guixbuild --discover=no \
> --substitute-urls='.....'
>
> Environment='GUIX_LOCPATH=/home/USER/.guix-profile/lib/locale'
> ...
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> Regards,
> Nigko
Theoretically, the problem could be resolved in the Debian package by
including as a patch the Guix commit
commit 95f21231352b66f92c466cb30f2258291e854f2f
Author: Ludovic Courtès <ludo@gnu.org>
Date: Mon Sep 11 14:22:44 2023 +0200
daemon: Add “git-download” built-in builder.
The new builder makes it possible to break cycles that occurs when the
fixed-output derivation for the source of a dependency of ‘git’ would
itself depend on ‘git’.
(should be the right commit, I think), but Debian policy is to only
deliver important bug fixes in their stable distribution. Is this an
important bug fix? Pull works but is just slow without. My intuition
is we better wait for a Guix 1.5.0 release. Cc to Vagrant who maintains
the Debian package.
Similarly for other foreign distros’ packages.
Regards,
Florian
next prev parent reply other threads:[~2024-05-19 23:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-14 15:53 No 'guix pull' substitutes for foreign distros? Nigko Yerden
2024-05-19 19:38 ` André A. Gomes
2024-05-19 20:17 ` Andreas Enge
2024-05-19 23:42 ` pelzflorian (Florian Pelz) [this message]
2024-05-21 9:14 ` André A. Gomes
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87seyd9xnp.fsf@pelzflorian.de \
--to=pelzflorian@pelzflorian.de \
--cc=andreas@enge.fr \
--cc=andremegafone@gmail.com \
--cc=help-guix@gnu.org \
--cc=nigko.yerden@gmail.com \
--cc=vagrant@debian.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).