On Sun, Aug 28, 2016 at 01:12:09AM +0200, Ludovic Courtès wrote: > Leo Famulari <l...@famulari.name> skribis: > > I wonder, are there any drawbacks of making the linter check that the > > URL provides the data named by the hash? > > The rationale so far was that ‘guix lint foo’ should be fast (a couple > of seconds at most), and ‘guix lint’ (all packages) should complete in > less than a day. ;-)
Reasonable :) > Thus, the ‘source’ and ‘home-page’ checks simply ensure that the URI > points to something accessible instead of actually downloading the > thing. This is fast and catches the most obvious errors, but has the > drawback of not catching the right-URL-wrong-hash kind of errors. I guess that `guix build --check --source foo` is the right way to check for this mistake.