From 5870f320c43946666b1c5e96dc0effb70c71a500 Mon Sep 17 00:00:00 2001 From: Antoine Cotten Date: Sat, 7 Sep 2024 00:47:41 +0200 Subject: [PATCH] nix: Declare formatter Ref. nix3-fmt(1) [1] [1]: https://nix.dev/manual/nix/2.24/command-ref/new-cli/nix3-fmt --- flake.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flake.nix b/flake.nix index 8ebc6b7..d6f0af0 100644 --- a/flake.nix +++ b/flake.nix @@ -31,6 +31,8 @@ { inherit (flake-schemas) schemas; + formatter = forAllSystems ({ pkgs }: pkgs.nixpkgs-fmt); + devShells = forAllSystems ({ pkgs }: let ruby-env = (ruby-nix.lib pkgs {