Commit 5029339 1 parent 564cdb7 commit 5029339 Copy full SHA for 5029339
File tree 2 files changed +14
-2
lines changed
2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 14
14
- os : ubuntu-latest
15
15
system : x86_64-linux
16
16
attr : native
17
+ - os : ubuntu-24.04-arm
18
+ system : aarch64-linux
19
+ attr : native
17
20
- os : macOS-latest
18
21
system : aarch64-darwin
19
22
attr : native
84
87
include :
85
88
- os : ubuntu-latest
86
89
system : x86_64-linux
90
+ - os : ubuntu-24.04-arm
91
+ system : aarch64-linux
87
92
- os : macOS-latest
88
93
system : aarch64-darwin
89
94
- os : macOS-latest
Original file line number Diff line number Diff line change 77
77
} ;
78
78
ormoluExe = hsPkgs : hsPkgs . hsPkgs . ormolu . components . exes . ormolu ;
79
79
linuxWindows = {
80
- native = ormoluExe hsPkgs . projectCross . musl64 ;
80
+ native =
81
+ let
82
+ musl =
83
+ if system == "aarch64-linux"
84
+ then "aarch64-multiplatform-musl"
85
+ else "musl64" ;
86
+ in
87
+ ormoluExe hsPkgs . projectCross . ${ musl } ;
81
88
windows = ormoluExe hsPkgs . projectCross . mingwW64 ;
82
89
} ;
83
90
macOS . native = pkgs . runCommand "ormolu-macOS"
98
105
'' ;
99
106
in
100
107
lib . recurseIntoAttrs
101
- ( lib . optionalAttrs ( system == "x86_64-linux" ) linuxWindows
108
+ ( lib . optionalAttrs pkgs . hostPlatform . isLinux linuxWindows
102
109
// lib . optionalAttrs pkgs . hostPlatform . isDarwin macOS ) ;
103
110
104
111
pre-commit-check = inputs . pre-commit-hooks . lib . ${ system } . run {
You can’t perform that action at this time.
0 commit comments