Hi, Christopher Baines skribis: > 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?. Bummer that there are two call sites. What about doing away with ‘%allow-unauthenticated-substitutes?’ and instead changing its only user, ‘tests/substitute.scm’, like so: