GNU bug report logs -
#18747
"preferLocalBuild" fails to distinguish between offload and substitute
Previous Next
Reported by: ludo <at> gnu.org (Ludovic Courtès)
Date: Thu, 16 Oct 2014 15:27:01 UTC
Severity: normal
Done: ludo <at> gnu.org (Ludovic Courtès)
Bug is archived. No further changes may be made.
Full log
Message #8 received at 18747 <at> debbugs.gnu.org (full text, mbox):
I just realized that this is fixed by just removing #:local-build? #t
from (guix download).
Initially #:local-build? (aka. ‘preferLocalBuild’) meant “avoid
offloading this derivation”, but Nix commit 55586527 (June 2013) changed
it to “avoid offloading *or substituting* this derivation”, which I
somehow overlooked for all this time.
I think we to distinguish between whether to offload and whether to
substitute. Typically, we don’t want to offload downloads, because
that’s inefficient. However, we may want to substitute downloads,
because then if the upstream download URL has become invalid, we can
still get the substitute from hydra.gnu.org.
Until then, I think I’ll just comment out #:local-build? #t in (guix
download) and friends.
Thoughts?
Thanks,
Ludo’.
This bug report was last modified 9 years and 329 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.