From f0e8a00b8af9cfb553bfd7f90d63899158db6df8 Mon Sep 17 00:00:00 2001 From: seth Date: Sun, 30 Jun 2024 09:45:04 -0400 Subject: style: alejandra -> nixfmt-rfc-style (#4) --- test/flake.nix | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) (limited to 'test/flake.nix') diff --git a/test/flake.nix b/test/flake.nix index fdf8833..d7ed855 100644 --- a/test/flake.nix +++ b/test/flake.nix @@ -4,19 +4,20 @@ flake-utils.url = "github:numtide/flake-utils"; }; - outputs = { - nixpkgs, - flake-utils, - ... - }: - flake-utils.lib.eachDefaultSystem (system: let - pkgs = nixpkgs.legacyPackages.${system}; - flake-checks' = (import ../.).mkChecks { - inherit pkgs; - root = ../.; - }; - in { - # we use alejandra, so nixfmt will always fail - checks = builtins.removeAttrs flake-checks' ["nixfmt"]; - }); + outputs = + { nixpkgs, flake-utils, ... }: + flake-utils.lib.eachDefaultSystem ( + system: + let + pkgs = nixpkgs.legacyPackages.${system}; + flake-checks' = (import ../.).mkChecks { + inherit pkgs; + root = ../.; + }; + in + { + # we use nixfmt, so alejandra will always fail + checks = builtins.removeAttrs flake-checks' [ "alejandra" ]; + } + ); } -- cgit v1.2.3