all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andreas Enge <andreas@enge.fr>
To: Oleander <7059548@protonmail.com>
Cc: kiasoc5@disroot.org, help-guix@gnu.org
Subject: Re: Build and upgrade times for heavier packages on old hardware
Date: Mon, 26 Feb 2024 10:14:41 +0100	[thread overview]
Message-ID: <ZdxWgYgOmEn_KMJu@jurong> (raw)
In-Reply-To: <8XlwnnK-6_8w4uRIotAYKtLBhnuO9ps3XWkAUIcLNuKBsruuOfp-XMFkPK8bIl5FjtXygIU0QDY8kFC9Hw-NKdepy_FuXJypS4wpZfHJjtA=@protonmail.com>

Hello,

Am Sun, Feb 25, 2024 at 08:06:13AM +0000 schrieb Oleander via:
> Are substitutes in Guix System disabled by running `# guix-daemon --no-substitutes`? How can I see whether they are enabled or not?

guix-daemon --help
shows that that command line parameter is indeed --no-substitutes.

If it is enabled in the daemon, you can still disable it selectively
when running a command such as
   guix build --no-substitutes hello
(and similarly for other commands), but not the other way round:
If the daemon does not accept substitutes, this cannot be overridden
by a user.

To show how the daemon was started, you can run (as root or as a normal user):

ps -ef | grep guix-daemon

I get
/gnu/store/hjg036lfdkc26allhcxa0dffx1yiafqx-guix-1.4.0-16.aeb4943/bin/guix-daemon --build-users-group guixbuild --max-silent-time 3600 --timeout 86400 --log-compression gzip --discover=no --substitute-urls https://ci.guix.gnu.org https://bordeaux.guix.gnu.org
which also shows where substitutes are taken from.

Notice that substitutions may still fail if the ACL (the public keys of
places from which substitutes are accepted) is not set up; but I think
this is indicated by an error message when running a command.

Andreas



  parent reply	other threads:[~2024-02-26  9:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-21 14:00 Build and upgrade times for heavier packages on old hardware Oleander via
2024-02-21 20:36 ` kiasoc5
2024-02-25  8:06   ` Oleander via
2024-02-25 22:09     ` kiasoc5
2024-02-26  9:14     ` Andreas Enge [this message]
2024-02-24 17:19 ` Csepp

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=ZdxWgYgOmEn_KMJu@jurong \
    --to=andreas@enge.fr \
    --cc=7059548@protonmail.com \
    --cc=help-guix@gnu.org \
    --cc=kiasoc5@disroot.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.