diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-03-28 09:50:28 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-03-28 10:00:05 +0200 |
commit | bdb59b331bac0dea4a75b055334313ddc7bfecc8 (patch) | |
tree | 6315b51845afcab931955a4a229b81602b277665 /CODE-OF-CONDUCT | |
parent | 7aeb4ffa5828206f89ec62226863c27f7c1c028d (diff) | |
download | guix-patches-bdb59b331bac0dea4a75b055334313ddc7bfecc8.tar guix-patches-bdb59b331bac0dea4a75b055334313ddc7bfecc8.tar.gz |
derivations: Do not fetch narinfos for non-substitutable items.
This avoids connections to substitute servers for derivations that are
not substitutable anyway, such as profiles.
Reported by Andy Wingo.
* guix/derivations.scm (substitution-oracle): Skip derivations that do
not pass 'substitutable-derivation?'.
* tests/derivations.scm ("substitution-oracle and #:substitute? #f"):
New test.
Diffstat (limited to 'CODE-OF-CONDUCT')
0 files changed, 0 insertions, 0 deletions