0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

freebsd: Add support for aarch64

Add a new `aarch64-freebsd` double and example system,
then fix include and libc to work.
This is enough to build packages like `hello`,
either static or dynamic.

This is useful for testing nix FreeBSD on a Raspberry Pi.
This commit is contained in:
Artemis Tosini 2024-11-22 03:51:40 +00:00
parent 8d5c3efd80
commit 2b02a18ef7
No known key found for this signature in database
GPG key ID: EE5227935FE3FF18
5 changed files with 13 additions and 2 deletions

View file

@ -334,6 +334,11 @@ rec {
# BSDs
aarch64-freebsd = {
config = "aarch64-unknown-freebsd";
useLLVM = true;
};
x86_64-freebsd = {
config = "x86_64-unknown-freebsd";
useLLVM = true;