Kovacsics Robert
Kovacsics Robert
So there's some gotcha's I haven't figured out: The `-b /data/data/com.termux/files/nix/bin:/bin` part of proot (from `nix/bin/login`) makes termux programs break, e.g. ```console ~ $ /data/data/com.termux/files/usr/bin/bash -bash: /data/data/com.termux/files/usr/bin/bash: cannot execute: required...
But the termux addons seem to work (tried termux:style, and termux:float anyway)
I will probably pursue this further still, it doesn't feel like it's far now :)
Success! I had to remove the following lines from the proot script ``` -b /data/data/com.termux/files/nix/bin:/bin \ -b /data/data/com.termux/files/nix/etc:/etc \ ``` and instead of using the `proot-static`, I used the `proot`...
I should also say not mounting /etc means nix has problems due to lack of resolv.conf (I think) so I need to look into that too, because I want both...
``` ~ $ nix run --no-net nixpkgs#bashInteractive bash-5.2$ am broadcast --user 0 --es com.termux.app.reload_style storage -a com.termux.app.reload_style com.termux Broadcasting: Intent { act=com.termux.app.reload_style pkg=com.termux (has extras) } Broadcast completed: result=0 bash-5.2$...
I can't remember exactly, it was a weekend project kind of thing which ran out of steam because even with using a monitor for my phone, and plugging in a...
> First: I'm not affiliated with the nix project, so take this review with a grain of salt. Of course, but I imagine this is helping the maintainers of nix-rust,...
> I'm still wondering if it is possible to avoid all the owned strings. It feels like exposing `Cow
Thanks! I've resolved the conflicts (was just the updating libc, which is no longer necessary in this commit). I haven't had any further thoughts about the buffer we allocate as...