Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for aarch64-darwin and aarch64-linux (uses nixpkgs-22.11) #804

Merged
merged 56 commits into from
Dec 6, 2023

Conversation

cidkidnix
Copy link
Contributor

@cidkidnix cidkidnix commented Oct 5, 2022

Still working on this, although todomvc works on 8.10 aarch64 android

EDIT: Building release.nix for x86_64-linux works fine now!

@cidkidnix cidkidnix changed the title WIP: Nixpkgs Unstable (22.11pre) Nixpkgs Unstable (22.11pre) Oct 18, 2022
cidkidnix and others added 3 commits October 19, 2022 13:32
* origin/nixpkgs-unstable:
  Cleanup
  release.nix: make it work
  ghcjs8_10: Fix builds
  Even more fixes
  Get release.nix to eval
  Fix ghcjs8_6 ghcWithPackages
  Add distribution_nixpkgs again
  Working GHC 8.6.5
  ghc8_6 aarch32: fix pkg-config; Cleanup overlays
  cleanup, and add more comments
  android 8_10 works
  More fixes
  first go at nixpkgs 22.05
@ali-abrar ali-abrar changed the title Nixpkgs Unstable (22.11pre) Add support for aarch64-darwin and aarch64-linux (uses nixpkgs-22.11) Sep 8, 2023
@ali-abrar
Copy link
Member

ali-abrar commented Sep 8, 2023

Notes:

  • Cache coverage:
    • aarch64-darwin will be cached
    • aarch64-linux not yet cached
  • Minumum nix version required: 2.11
  • Nix config required: experimental-features = nix-command flakes repl-flake impure-derivations recursive-nix

@ali-abrar ali-abrar merged commit f231e24 into develop Dec 6, 2023
1 check passed
@danwdart
Copy link

danwdart commented Dec 8, 2023

So this doesn't seem to include iOS and Android, right? I get the errors that they're not supported on aarch64-darwin - I know we have #775 but that's just for aarch64-linux -> aarch64-android, is aarch64-darwin -> aarch64-android or aarch64-darwin -> aarch64-ios being worked on somewhere else?

@cidkidnix
Copy link
Contributor Author

Yeah currently we don't support aarch64-* -> aarch64-{ios, android}.
There isn't a separate WIP for aarch64-ios

If you want to take a poke, it should get part of the way there if you disable the check (this is unsupported), though
there isn't a ton of support for the iOS cross-compile in nixpkgs atm (I believe reflex/obsidian is the main user of it).

Our platform support is here: https://github.com/reflex-frp/reflex-platform/blob/develop/docs/platform-support.md

@danwdart
Copy link

danwdart commented Dec 8, 2023

Okay, thanks!

@ali-abrar
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants