diff options
author | Christopher Baines <mail@cbaines.net> | 2020-12-24 16:01:25 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2021-01-16 11:49:36 +0000 |
commit | 35e0c0cf1d2a749d5c3255ef50cd5bfb014bca39 (patch) | |
tree | 260e0234e2d05068a8a2cba8bf1553c2fdead5be /gnu/packages/pdf.scm | |
parent | 540893a8ccef41436a1c00ae268f74219f9ab220 (diff) | |
download | guix-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/packages/pdf.scm')
0 files changed, 0 insertions, 0 deletions