You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Portability could be increased in this project in both of these cases:
Runtime
We could, instead of mounting /usr/store onto /nix/store, which requires root (currently, see #17), use nix-user-chroot or bubblewrap to wrap all the /usr/extension.d/$EXTENSION/bin symlinks to them and include /usr/store as /nix, making it think /nix/store exists when it doesnt, that would also remove the requirement for root for mounting /nix
Building
We could also build stuff with nix-portable or nix-user-chroot instead of spinning up a docker/podman container so that people may use bext layer build inside a distrobox or something like that
The text was updated successfully, but these errors were encountered:
tulilirockz
changed the title
feat: Better portability for nix-based sysexts
feat(nix-based): Better portability for sysexts
Feb 27, 2024
Portability could be increased in this project in both of these cases:
Runtime
We could, instead of mounting
/usr/store
onto/nix/store
, which requires root (currently, see #17), use nix-user-chroot or bubblewrap to wrap all the/usr/extension.d/$EXTENSION/bin
symlinks to them and include/usr/store
as/nix
, making it think/nix/store
exists when it doesnt, that would also remove the requirement for root for mounting/nix
Building
We could also build stuff with nix-portable or nix-user-chroot instead of spinning up a docker/podman container so that people may use
bext layer build
inside a distrobox or something like thatThe text was updated successfully, but these errors were encountered: