lint: Add a #:store argument to check-derivation
authorChristopher Baines <mail@cbaines.net>
Sun, 15 Mar 2020 20:53:02 +0000 (20:53 +0000)
committerChristopher Baines <mail@cbaines.net>
Tue, 24 Mar 2020 19:47:46 +0000 (19:47 +0000)
commit7826fbc02b19727e4bd56dd3a4dc3046f2770b84
tree7f0f1eb55ce5b0afa4b2af63f74c324d4d17dfc5
parentd84ad6a24ed0a51f72db0a17df093e79cd600f6d
lint: Add a #:store argument to check-derivation

This can then be used to avoid opening up a store connection each time a
package needs checking.

* guix/lint.scm (check-derivation): Add a #:store argument, and pull the
handling of the store connection out of the try function.
guix/lint.scm