-
Notifications
You must be signed in to change notification settings - Fork 352
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
Android setup fails on darwin / M1 / Apple #1305
Comments
Is there a workaround? If you an point me somewhere I can try myself at implementing it |
cc @k3yss |
Yeah I found that too @k3yss but I thought it was fixed in NixOS/nixpkgs#304716. Apart from me just wanting to make it work I am also wondering how we can have devenv support it "out of the box" since otherwise you have to go deep into nix do even start solving the issue. (Hence if we identify a workaround here I am happy to build that workaround into devenv to at least support it in some way out of the box) |
I think @k3yss it is actually not yet in devenv-rolling: I dont understand fully how the update cycle there works but that is for another issue :D |
@clotodex I currently don't have an access to a darwin device but if you want we can debug it together on discord. What I would do to start is instead of using devenv's nixpkgs I will use #devenv.yaml
inputs:
nixpkgs:
url: github:NixOS/nixpkgs/nixpkgs-unstable
|
Yes that would also be my plan |
@clotodex ping! |
Thanks for the ping. I can post the config in ~2 weeks if you are interested, that's when i have mac access again |
@clotodex Do you need to configure something special for running android on mac? If yes, it would be great to look at the config and maybe automate some of it. |
Not for our minimal setup in the end (had some legacy darwin things around but removing them did not break it)
However I still need unstable nixpkgs - it does not run with the default devenv ones |
Everything works fine after this PR cachix/devenv-nixpkgs#2 Tested on m1 processor mac |
Describe the bug
The nix install of the android sdk fails on the darwin architecture.
To reproduce
android.enable=true on a macbook with an M processor
Logs
Version
1.0.7 - no flakes, latest update
The text was updated successfully, but these errors were encountered: