Closed pinage404 closed 1 month ago
When using the nix-on-droid's overlay like in the advanced template
It allows to install the package with a normal pkgs.nix-on-droid
instead of inputs.nix-on-droid.packages."${system}".nix-on-droid
but it is installed by default... I don't get it
it can be usefull if we want to use nix-on-droid
on another platform
i'm trying to write a deployment script, i use it
inputs.nix-on-droid.packages."${system}".nix-on-droid
everywhere i need nix-on-droid
sorry, good, but where do you need it at all? how many places is that, what are they?
i haven't finished my script (the feedback loop is super long) for the moment, i need it in 2 places
If you believe, that is not a good thing, i can close this PR
I don't know, I need to weigh pros and cons of exposing it this way. Once I do that, it'd be hard to remove it back + I'm not sure what's the behaviour of overriding it in an overlay is etc. etc. Not something I can decide on quickly.
my computer is more powerful than my phone, i would like to build on my computer (and check if all is good)
FYI @pinage404 if you use flakes you can build on your computer with nix build .#nixOnDroidConfigurations.default.activationPackage --impure
the current WIP (that doesn't work) https://gitlab.com/pinage404/dotfiles/-/blob/c32e3c71a5662228c30faf4e528354efa8d02843/packages/deploy-fairphone_4/default.nix
why --impure
is needed ?
On July 16, 2024 12:10:53 AM GMT+03:00, pinage404 @.***> wrote:
the current WIP (that doesn't work) https://gitlab.com/pinage404/dotfiles/-/blob/c32e3c71a5662228c30faf4e528354efa8d02843/packages/deploy-fairphone_4/default.nix
why
--impure
is needed ?
Because cross-compiled proot is injected by hash.
I understand
Should we close this ?
yes
what's the point of that? what usage does it help with?