-
Notifications
You must be signed in to change notification settings - Fork 66
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
fails to build ghc #8
Comments
Attempted to look into that, but hit an out-of-space error. Just wanted you to know that I'm on it, but it'll take some time. |
Can reproduce under nix-on-droid. |
By the way, how do you prevent long builds in nix-on-droid from being killed? =) Building ghc times out even on Hydra (10h) and Hydra got some powerful hardware. |
Can we use nix-on-droid on the android emulator? I tried and the app crashed (or maybe just exited with an error). |
I foresee no problems with that approach as long as either:
1) the emulator emulates aarch64
or
2) you teach me how to run it in the emulator and I'll add support for the required architectures.
|
@t184256 I re-install the app, and building ghc succeeds. BTW, on my phone (Meizu Pro 6s) building ghc took about 30 minutes, not as long as 10h. So I don't know your problem that long building is killed. But sometimes flyme os (customized Android by Meizu) can kill nix-on-droid when the screen is locked. So I permit nix-on-droid to run in the background and keep the screen unlocked while building ghc. This may help. |
I reinstalled the app and ghc just installed without any compilation. O_o Hydra shows nixos:release-19.03-aarch64 builds now. Hooray? |
Yeah I had no problem with GHC. Should close this. |
I use
nix-env -i ghc
to install GHC. However, when compilingDistribution.SPDX.LIcenseId
, I get the following error:I have no idea why this happens and whether it is related to Nix-on-droid or just to GHC.
Could you take some time to look into it when you are free? Thanks!
My android version is 7.1.1
The text was updated successfully, but these errors were encountered: