summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorseth <[email protected]>2024-06-30 09:45:04 -0400
committerGitHub <[email protected]>2024-06-30 09:45:04 -0400
commitf0e8a00b8af9cfb553bfd7f90d63899158db6df8 (patch)
treebfd03c9e363b68117d1deef9f59cfc575dafb4cf /test
parent509221abec375464985cb45eaf4636e361c13b41 (diff)
style: alejandra -> nixfmt-rfc-style (#4)
Diffstat (limited to 'test')
-rw-r--r--test/flake.nix31
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" ];
+ }
+ );
}