File tree Expand file tree Collapse file tree 2 files changed +25
-23
lines changed Expand file tree Collapse file tree 2 files changed +25
-23
lines changed Original file line number Diff line number Diff line change 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}
You can’t perform that action at this time.
0 commit comments