From 37a509967baf281fe9348b50b854e64ed6612041 Mon Sep 17 00:00:00 2001
From: Daniel Firth <dan.firth@homotopic.tech>
Date: Thu, 29 Dec 2022 10:16:49 +0000
Subject: [PATCH] use with lint-utils.linters.system;

---
 flake.nix | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/flake.nix b/flake.nix
index 9a358a51..168e46b8 100644
--- a/flake.nix
+++ b/flake.nix
@@ -93,9 +93,9 @@
           run-impure-tests = run-impure-tests-app;
         };
 
-        checks = {
-          dhall-format = lint-utils.outputs.linters.${system}.dhall-format { src = ./.; };
-          nixpkgs-fmt = lint-utils.outputs.linters.${system}.nixpkgs-fmt { src = ./.; };
+        checks = with lint-utils.linters.${system}; {
+          dhall-format = dhall-format { src = self; };
+          nixpkgs-fmt = nixpkgs-fmt { src = self; };
         };
 
         inherit legacyPackages;
-- 
GitLab