Skip to content

Commit f697e40

Browse files
committed
Update flakes
1 parent 9f68a4f commit f697e40

File tree

2 files changed

+25
-23
lines changed

2 files changed

+25
-23
lines changed

flake.lock

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

+19-17
Original file line numberDiff line numberDiff line change
@@ -30,22 +30,24 @@
3030
};
3131

3232
} //
33-
flake-utils.lib.eachDefaultSystem (system:
34-
let
35-
pkgs = import nixpkgs { inherit system; };
36-
in
37-
{
38-
checks.check-format = pkgs.runCommand "check-format"
39-
{
40-
buildInputs = with pkgs; [ nixpkgs-fmt ];
41-
} ''
42-
nixpkgs-fmt --check ${./.}
43-
mkdir $out # success
44-
'';
33+
flake-utils.lib.eachSystem
34+
(with flake-utils.lib.system; [ "x86_64-linux" "aarch64-linux" ])
35+
(system:
36+
let
37+
pkgs = import nixpkgs { inherit system; };
38+
in
39+
{
40+
checks.check-format = pkgs.runCommand "check-format"
41+
{
42+
buildInputs = with pkgs; [ nixpkgs-fmt ];
43+
} ''
44+
nixpkgs-fmt --check ${./.}
45+
mkdir $out # success
46+
'';
4547

46-
devShell = pkgs.mkShell {
47-
nativeBuildInputs = with pkgs; [ nixpkgs-fmt ];
48-
};
49-
}
50-
);
48+
devShell = pkgs.mkShell {
49+
nativeBuildInputs = with pkgs; [ nixpkgs-fmt ];
50+
};
51+
}
52+
);
5153
}

0 commit comments

Comments
 (0)