lint: Add a requires-store? field to the checker record.
authorChristopher Baines <mail@cbaines.net>
Sun, 15 Mar 2020 18:48:01 +0000 (18:48 +0000)
committerChristopher Baines <mail@cbaines.net>
Tue, 24 Mar 2020 19:47:43 +0000 (19:47 +0000)
commit3874dc5ef2e0d301dc708bf433e13362e0759a0a
treed991dc993757cd07d40f303142523b2bffd5665d
parentb14c234c0d32216f8c2f6e6d1935c469a6b947c9
lint: Add a requires-store? field to the checker record.

This can then be used to mark checkers that require a store connection, which
will enable passing a connection in, avoiding the overhead of establishing a
connection inside the check function when it's run for lots of different
packages.

* guix/lint.scm (<lint-checker>): Add requires-store? to the record type.
guix/lint.scm