challenge: Use a warning when substitutes are lacking.

* guix/scripts/challenge.scm (discrepancies): Use 'warning' instead of
'leave'.
This commit is contained in:
Ludovic Courtès 2017-01-12 23:14:58 +01:00
parent 08b98ae8d3
commit 4cdff6ae37
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -118,7 +118,7 @@ (define (select-reference item narinfos urls)
(select-reference item narinfos urls) (select-reference item narinfos urls)
(narinfo-hash->sha256 (narinfo-hash first)))))) (narinfo-hash->sha256 (narinfo-hash first))))))
(() (()
(leave (_ "no substitutes for '~a'~%") item)))) (warning (_ "no substitutes for '~a'; cannot conclude~%") item))))
(mlet* %store-monad ((local (mapm %store-monad (mlet* %store-monad ((local (mapm %store-monad
query-locally-built-hash items)) query-locally-built-hash items))