diff options
Diffstat (limited to 'test/flake.nix')
| -rw-r--r-- | test/flake.nix | 31 |
1 files changed, 16 insertions, 15 deletions
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" ]; + } + ); } |
