mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-08 19:46:07 +01:00
Remove bashism to be posix compliant
This commit is contained in:
parent
fd73d76faf
commit
af2e0b7af0
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ writeText "login-inner" ''
|
|||
export GC_NPROCS=1 # to prevent gc warnings of nix, see https://github.com/NixOS/nix/issues/3237
|
||||
|
||||
${lib.optionalString config.build.initialBuild ''
|
||||
if [[ -e /etc/UNINTIALISED ]]; then
|
||||
if [ -e /etc/UNINTIALISED ]; then
|
||||
echo "Set default user profile..."
|
||||
${nix}/bin/nix-env --switch-profile /nix/var/nix/profiles/per-user/$USER/profile
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue