[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#28749: guix build --subsitute-urls does not override guix-daemon run
bug#28749: guix build --subsitute-urls does not override guix-daemon run with --no-subsitutes
Mon, 9 Oct 2017 15:20:34 -0400
On Sun, Oct 08, 2017 at 01:13:16PM -0400, Drashne wrote:
> From the kind people on #guix, I've heard that "guix build
> --subsitute-urls" should override "guix-daemon --no-subsitutes", but
> it seems it's not doing so for me.
The documentation of guix-daemon  says this on the subject:
"When the daemon runs with --no-substitutes, clients can still
explicitly enable substitution via the set-build-options remote
procedure call (see The Store)."
So, there is a way for unprivileged users to enable substitution for
themselves even when the local administrator has disabled substitution,
but it's not via the --substitute-urls mechanism.
I'm closing this bug because I think it's mostly a case of having
received mistaken advice on #guix.
> Here's the situation I ran in to:
> While doing a "./pre-inst-env guix pull" I got an error about:
> output path
> `/gnu/store/53lj4z9cavl7n27r89zjnvyd8fk854kj-libgit2-0.26.0.tar.gz' should
> have sha256 hash `1fdk9yhwvl1w1z71ykzcvgh4nsf8scxcbclz5anh98zpplmhmisa',
> instead has `
> So I tried "./pre-inst-env guix build --source libgit2
> but it redirected me to
> which had the wrong hash.
We are discussing how to handle unstable upstream sources more
Description: PGP signature