summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2020-12-24 16:01:25 +0000
committerChristopher Baines <mail@cbaines.net>2021-01-16 11:49:36 +0000
commit35e0c0cf1d2a749d5c3255ef50cd5bfb014bca39 (patch)
tree260e0234e2d05068a8a2cba8bf1553c2fdead5be /gnu
parent540893a8ccef41436a1c00ae268f74219f9ab220 (diff)
downloadguix-35e0c0cf1d2a749d5c3255ef50cd5bfb014bca39.tar.gz
substitute: Untangle skipping authentication from valid-narinfo?.
Rather than having valid-narinfo? evaluate to #t if
%allow-unauthenticated-substitutes? is set to #t, just use (const #t) for
valid-narinfo? when %allow-unauthenticated-substitutes? is set to #t.  This
will allow moving valid-narinfo? in to a (guix substitutes) module.

* guix/scripts/substitute.scm (process-query, process-substitution): Change
the authorized? argument to lookup-narinfo and lookup-narinfos/diverse based
on %allow-unauthenticated-substitutes?.
(valid-narinfo?): Remove use of %allow-unauthenticated-substitutes?.
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions