From bfd4745bf282329a48125a1a0b78f2fea22e361f Mon Sep 17 00:00:00 2001 From: Nikolaos Karaolidis Date: Wed, 10 Sep 2025 18:10:04 +0100 Subject: [PATCH] Add flake checks Signed-off-by: Nikolaos Karaolidis --- flake.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index ac1d3da..37f28d1 100644 --- a/flake.nix +++ b/flake.nix @@ -28,7 +28,11 @@ { packages.${system} = import ./packages { inherit pkgs; }; formatter.${system} = treefmt.config.build.wrapper; - checks.${system}.formatting = treefmt.config.build.check inputs.self; + + checks.${system} = with inputs.self; { + packages = packages.${system}; + formatter = treefmt.config.build.check inputs.self; + }; } ); }