Closed Gerschtli closed 1 year ago
Found a solution:
/proc
helps, not sure about other side effectsmkdir --parents ${buildRootDirectory}/nix/var/nix/db
) in order to tell nix to use the manually created /nix
directory instead of a chroot nix store in /homeless-shelter/.local/share/nix/root
. related warning that is printed without this fix:
warning: '/nix' does not exist, so Nix will use '/homeless-shelter/.local/share/nix/root' as a chroot store
BTW there are quite some old branches that are merged and/or maybe not needed anymore. Except for current open PR branches, your testing
branch and the release-*
branches (and maybe pre-module-system
branch), are the other branches still required?
Just for some house-keeping :)
remotes/origin/FAILED-on-device-proot-building a8c3881 Attempt to fix proot static compilation
remotes/origin/deploy-fix 1194ecf deploy: allow specifying urls not ending with source.tar.gz
remotes/origin/does-this-fix-make d627071 pkgs/cross-compiling/proot: fix seccomp+setresxid
remotes/origin/fix-flake-prompt b623074 login-inner: fix default choice on bootstrap flakes prompt
remotes/origin/fix-profile 048b22f environment.path: fix installation with nix profile
remotes/origin/master 4e58ce7 fix(terminal.nix): quote font paths
remotes/origin/pre-module-system a505862 Add less to basic-environment, nix needs a $PAGER.
remotes/origin/prerelease-20.09 fed9bbe pkgs/qemu-aarch64-static: update
remotes/origin/prerelease-22.05 b286ac1 pkgs/nix-directory: update nix
remotes/origin/prerelease-22.05-pt2 0ad6321 pkgs: use non-prebuilt SDK
remotes/origin/prerelease-22.05-unmerged-work d0b08d2 proot-termux: simplify module
remotes/origin/prerelease-22.11 8816289 bootstrap: update nixpkgs version
remotes/origin/release-19.09 d551f63 Add a comment to clarify setting user.shell
remotes/origin/release-20.03 b651458 Fix Cachix in Travis with `trusted-users = travis`
remotes/origin/release-20.09 0dec5d4 modules/user: use runCommandLocal for idDerivation
remotes/origin/release-21.05 3e3a4e2 overlays/lib/nixpkgs.nix: use system
remotes/origin/release-21.11 e87f42e modules/upgrade: fix missing /dev/shm on upgrade from <21.11
remotes/origin/release-22.05 d49fd3a CHANGELOG: Release 22.05
remotes/origin/testing 62cf934 fixup ssh: don't write to stdout
remotes/origin/update-sdk dda3bd3 WIP: compile proot dynamically with non-prebuilt SDK
remotes/origin/wip-non-static-proot 07a89d7 WIP non-static proot
I would also recommend to use more variables for the nixos version for the next update.
What do you mean by that? What kind of variables?
BTW there are quite some old branches that are merged and/or maybe not needed anymore.
Didn't know I had so many failed attempts to update SDK and build proot differently =/ Cleaned up some of the branches.
Rebased and added a commit for #230. Also dropped the workaround for default nix version < 2.4. If that is fine, you can merge and do the usual release steps :)
PR to prepare everything for 22.11.
Currently, bootstrap is not building:
Issue seems to be on
nix-store --init
after nixpkgs update, see https://github.com/t184256/nix-on-droid/blob/master/pkgs/nix-directory.nix#L46