Skip to content

Commit c1ffee7

Browse files
sgillespiekderme
authored andcommitted
Add native aarch64-linux builds
Previously, we were cross building for aarch64-linux, but now we're running into the following problem: qemu: uncaught target signal 11 (Segmentation fault) - core dumped iserv-proxy: {handle: <socket: 5>}: GHCi.Message.remoteCall: end of file <no location info>: error: ghc-iserv terminated (1) Now that we have an aarch64-linux runner, we'll just use that and we don't have to deal with cross builds and TH.
1 parent 70ec349 commit c1ffee7

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

flake.nix

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"x86_64-linux"
3333
"x86_64-darwin"
3434
"aarch64-darwin"
35+
"aarch64-linux"
3536
];
3637
in
3738
inputs.utils.lib.eachSystem supportedSystems (system:
@@ -176,10 +177,7 @@
176177
'';
177178

178179
crossPlatforms = p:
179-
lib.optional (system == "x86_64-linux") p.musl64 ++
180-
lib.optional
181-
(system == "x86_64-linux" && config.compiler-nix-name == "ghc967")
182-
p.aarch64-multiplatform-musl;
180+
lib.optional (system == "x86_64-linux") p.musl64;
183181

184182
inputMap = {
185183
"https://chap.intersectmbo.org/" = inputs.CHaP;

0 commit comments

Comments
 (0)