mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-08 19:46:07 +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 it does not help, report bugs at https://github.com/t184256/nix-on-droid-bootstrap/issues"
|
||||
|
||||
${lib.optionalString (! config.build.initialBuild) ''
|
||||
set +u
|
||||
. "/nix/var/nix/profiles/per-user/$USER/profile/etc/profile.d/nix-on-droid-session-init.sh"
|
||||
set -u
|
||||
''
|
||||
}
|
||||
|
||||
${lib.optionalString config.build.initialBuild ''
|
||||
if [ -e /etc/UNINTIALISED ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue