mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-12-10 19:11:09 +01:00
WIP: tests/emulator/test_channels_shell: investigate what happens to $PATH
This commit is contained in:
parent
598fa1f995
commit
f95fb313ff
3 changed files with 6 additions and 2 deletions
|
|
@ -13,6 +13,8 @@ writeText "login-inner" ''
|
|||
|
||||
set -eo pipefail
|
||||
|
||||
echo login-inner PATH=$PATH
|
||||
|
||||
${lib.optionalString (config.environment.motd != null) ''
|
||||
if [ "$#" -eq 0 ]; then # if script is called from within Nix-on-Droid app
|
||||
echo "${lib.removeSuffix "\n" config.environment.motd}"
|
||||
|
|
|
|||
|
|
@ -17,6 +17,8 @@ writeScript "login" ''
|
|||
# This file is generated by Nix-on-Droid. DO NOT EDIT.
|
||||
set -eu -o pipefail
|
||||
|
||||
echo login PATH=$PATH
|
||||
|
||||
export USER="${config.user.userName}"
|
||||
export HOME="${config.user.home}"
|
||||
export PROOT_TMP_DIR=${installationDir}/tmp
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue