buildFHSUserEnv: use runScript in env (#49077)
This makes its behaviour conform to what is implied in the documentation.
This commit is contained in:
parent
4c8a198f12
commit
5e5e57c572
@ -28,7 +28,7 @@ in runCommand name {
|
||||
passthru = passthru // {
|
||||
env = runCommand "${name}-shell-env" {
|
||||
shellHook = ''
|
||||
exec ${chrootenv} ${init "bash"} "$(pwd)"
|
||||
exec ${chrootenv} ${init runScript} "$(pwd)"
|
||||
'';
|
||||
} ''
|
||||
echo >&2 ""
|
||||
|
Loading…
Reference in New Issue
Block a user