From d84ad6a24ed0a51f72db0a17df093e79cd600f6d Mon Sep 17 00:00:00 2001
From: Christopher Baines <mail@cbaines.net>
Date: Sun, 15 Mar 2020 18:48:24 +0000
Subject: lint: Mark the derivation checker as requiring a store connection.

* guix/lint.scm (%local-checkers): Mark the derivation checker as requiring a
store connection.
---
 guix/lint.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/guix/lint.scm b/guix/lint.scm
index a324858f68..631ba3b59d 100644
--- a/guix/lint.scm
+++ b/guix/lint.scm
@@ -1331,9 +1331,10 @@ or a list thereof")
      (description "Check for autogenerated tarballs")
      (check       check-source-unstable-tarball))
    (lint-checker
-     (name        'derivation)
-     (description "Report failure to compile a package to a derivation")
-     (check       check-derivation))
+     (name            'derivation)
+     (description     "Report failure to compile a package to a derivation")
+     (check           check-derivation)
+     (requires-store? #t))
    (lint-checker
     (name        'patch-file-names)
     (description "Validate file names and availability of patches")
-- 
cgit v1.2.3