Replies: 2 comments
-
If I understand this correctly ( "But wait!" I hear you say. "The android phone doesn't need to build proot-static. It already comes configured with the nix-on-droid cachix substituter. All is well! And you'd be right, except that nix will make sure it can build everything regardless of whether closures can be obtained from a substituter. This means that because your android phone can't build |
Beta Was this translation helpful? Give feedback.
-
This is not true. To build a proot-static (and the entirety of bootstrap zipball), you only need Android SDK toolchain and a x86_64-linux host. No aarch64-linux building capabilities are required. I've made several attempts to build an identical proot using either x86_64-linux or aarch64-linux using a non-precompiled toolchain. I was not successful. |
Beta Was this translation helpful? Give feedback.
-
I noticed the
nix-on-droid
script adds--impure
if given a flake uri, and if I try to build manually without--impure
it doesn't work:Why is
builtins.storePath
needed? Normally I'd just look at the code but,builtins.storePath
is never used??Beta Was this translation helpful? Give feedback.
All reactions