lint: 'source' check no longer complains about unavailable mirrors.
commit848ae71ea7131e78a7b728863eac1056c33b2679
authorLudovic Courtès <ludo@gnu.org>
Fri, 19 Jul 2019 23:13:46 +0000 (20 01:13 +0200)
committerLudovic Courtès <ludo@gnu.org>
Fri, 19 Jul 2019 23:32:17 +0000 (20 01:32 +0200)
tree9d83022348fec6af1c78f7a7c48d480ea40760d8
parent571f6e7f4f75a01746a0880c99e0cc33fbafbe2a
lint: 'source' check no longer complains about unavailable mirrors.

Fixes a regression introduced in
50fc2384feb3bb2677d074f8f0deb5ae3c56b4d8.

Previously, 'guix lint -c source coreutils' would complain if one of the
mirrors was unavailable.  This is no longer the case.

* guix/lint.scm (check-source)[warnings-for-uris]: Use 'filter-map'.
Remove 'append-map' call.
Use 'append-map' here so that we can meaningfull compare the length or
URIS and that of WARNINGS.
Use '=' to compare lengths.
guix/lint.scm