mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-09 03:56:06 +01:00
Fix installation (missing session-init)
This commit is contained in:
parent
d848df3a33
commit
38e7b238ae
1 changed files with 3 additions and 0 deletions
|
|
@ -17,9 +17,12 @@ writeText "login-inner" ''
|
||||||
[ "$#" -gt 0 ] || echo "If nothing works, use the rescue shell and read ${config.build.installationDir}/usr/lib/login-inner"
|
[ "$#" -gt 0 ] || echo "If nothing works, use the rescue shell and read ${config.build.installationDir}/usr/lib/login-inner"
|
||||||
[ "$#" -gt 0 ] || echo "If it does not help, report bugs at https://github.com/t184256/nix-on-droid-bootstrap/issues"
|
[ "$#" -gt 0 ] || echo "If it does not help, report bugs at https://github.com/t184256/nix-on-droid-bootstrap/issues"
|
||||||
|
|
||||||
|
${lib.optionalString (! config.build.initialBuild) ''
|
||||||
set +u
|
set +u
|
||||||
. "/nix/var/nix/profiles/per-user/$USER/profile/etc/profile.d/nix-on-droid-session-init.sh"
|
. "/nix/var/nix/profiles/per-user/$USER/profile/etc/profile.d/nix-on-droid-session-init.sh"
|
||||||
set -u
|
set -u
|
||||||
|
''
|
||||||
|
}
|
||||||
|
|
||||||
${lib.optionalString config.build.initialBuild ''
|
${lib.optionalString config.build.initialBuild ''
|
||||||
if [ -e /etc/UNINTIALISED ]; then
|
if [ -e /etc/UNINTIALISED ]; then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue