diff options
author | Christopher Baines <mail@cbaines.net> | 2020-03-15 20:54:50 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2020-03-24 19:47:46 +0000 |
commit | 57e12aad6dfc2d12567164144dd15161e66f32d5 (patch) | |
tree | 2a8bd1f3ff0168350870c92ac12a00156f70cbba /gnu/packages | |
parent | 7826fbc02b19727e4bd56dd3a4dc3046f2770b84 (diff) | |
download | patches-57e12aad6dfc2d12567164144dd15161e66f32d5.tar patches-57e12aad6dfc2d12567164144dd15161e66f32d5.tar.gz |
scripts: lint: Handle store connections for lint checkers.
Rather than individual checkers opening up a connection to the store for each
package to check, if any checker requires a store connection, open a
connection and pass it to all checkers that would use it. This makes running
the derivation checker much faster for multiple packages.
* guix/scripts/lint.scm (run-checkers): Add a #:store argument, and pass the
store to checkers if they require a store connection.
(guix-lint): Establish a store connection if any checker requires one, and
pass it through to run-checkers.
Diffstat (limited to 'gnu/packages')
0 files changed, 0 insertions, 0 deletions