aboutsummaryrefslogtreecommitdiff
path: root/nix/libstore
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-03-28 09:50:28 +0200
committerLudovic Courtès <ludo@gnu.org>2017-03-28 10:00:05 +0200
commitbdb59b331bac0dea4a75b055334313ddc7bfecc8 (patch)
tree6315b51845afcab931955a4a229b81602b277665 /nix/libstore
parent7aeb4ffa5828206f89ec62226863c27f7c1c028d (diff)
downloadpatches-bdb59b331bac0dea4a75b055334313ddc7bfecc8.tar
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 'nix/libstore')
0 files changed, 0 insertions, 0 deletions