nix-on-droid icon indicating copy to clipboard operation
nix-on-droid copied to clipboard

TODO: build proot on-device

Open t184256 opened this issue 6 years ago • 6 comments

For full management of the system and smooth upgrade path that was laid out in #18 we should also manage proot with nix and make it buildable on-device (and cache the result so that the users won't actually have to do that). Ironically, now it's easier to cross-compile that to native-compile it, as it has to be linked with bionic.

Maybe it'd be acceptable to just ape the build environment from termux and use LLVM. Maybe not.

t184256 avatar Oct 06 '19 00:10 t184256

https://github.com/NixOS/nixpkgs/commit/1e1d29c2af646b21c04f7a27614317a19ee01bc5 is talking self-hosting toolchains, maybe this could be revisited now.

t184256 avatar Jun 05 '21 00:06 t184256

Just that I know what to subscribe to, would this issue being solved mean the .activationPackage could be a flake check, please?

mightyiam avatar Aug 06 '24 04:08 mightyiam

You mean, will become buildable without --impure? Yes.

t184256 avatar Aug 06 '24 09:08 t184256

Could you perhaps permalink to the impure part, just for educational purposes?

mightyiam avatar Aug 06 '24 09:08 mightyiam

https://github.com/nix-community/nix-on-droid/blob/248cc0806120fac9214f503dee0eaf0f47740dd0/modules/environment/login/default.nix#L87

t184256 avatar Aug 06 '24 09:08 t184256

Thank you, @t184256

mightyiam avatar Aug 06 '24 10:08 mightyiam