ctucx.git: dns.nix

fork of https://github.com/kirelagin/dns.nix

commit 0d458d44cdd31a63dfa5646243da2dedb45ebdce
parent ffb76705b4141522c431116dbc34d9e04b548390
Author: Kirill Elagin <kirelagin@gmail.com>
Date: Tue, 26 Oct 2021 14:25:39 -0400

check: Reuse lint
1 file changed, 3 insertions(+), 0 deletions(-)
M
flake.nix
|
3
+++
diff --git a/flake.nix b/flake.nix
@@ -35,6 +35,9 @@
 
         checks = {
           eval-lib = pkgs.writeText "eval-lib" (builtins.deepSeq self.lib "OK");
+          reuse = pkgs.runCommand "reuse-lint" {
+            nativeBuildInputs = [ pkgs.reuse ];
+          } ''reuse --root ${./.} lint > "$out"'';
         };
       }
     );