aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreldritch horrors <pennae@lix.systems>2024-07-09 22:49:10 +0200
committereldritch horrors <pennae@lix.systems>2024-07-09 22:49:10 +0200
commit4d8c66ec6fee1f476c495297c48e3167fd6378ed (patch)
tree696964c5b93454d8fa9ddbcc0b9d8e773af38894
parentd461cc1d7b2f489c3886f147166ba5b5e0e37541 (diff)
add aarch64-linux as a cross-build target
we want to be sure we can cross-build to aarch64 for releases, add a target to our crossSystems list to make those cheacks easier to run. Change-Id: Ieb65c1333a5232641ace0ba4d122fc7d528ebc04
-rw-r--r--doc/manual/src/contributing/hacking.md1
-rw-r--r--flake.nix1
2 files changed, 2 insertions, 0 deletions
diff --git a/doc/manual/src/contributing/hacking.md b/doc/manual/src/contributing/hacking.md
index 8577a6a2e..37c96a5c0 100644
--- a/doc/manual/src/contributing/hacking.md
+++ b/doc/manual/src/contributing/hacking.md
@@ -175,6 +175,7 @@ These are specified in `crossSystems` in `flake.nix`; feel free to submit change
- `armv6l-linux`
- `armv7l-linux`
+- `aarch64-linux`
- `riscv64-linux`
For example, to cross-compile Lix for `armv6l-linux` from another Linux, use the following:
diff --git a/flake.nix b/flake.nix
index d2eefca76..2b8c95f70 100644
--- a/flake.nix
+++ b/flake.nix
@@ -90,6 +90,7 @@
"armv6l-linux"
"armv7l-linux"
"riscv64-linux"
+ "aarch64-linux"
# FIXME: still broken in 24.05: fails to build rustc(??) due to missing -lstdc++ dep
# "x86_64-freebsd"
# FIXME: broken dev shell due to python