isolate: allow argument passing

This commit is contained in:
Rodrigo Arias 2020-12-02 13:06:35 +01:00
parent 284662d6cd
commit 3d352fee19
2 changed files with 2 additions and 2 deletions
garlic/stages/isolate

View File

@ -46,4 +46,4 @@ mounts=(
join_flags="${mounts[@]}"
exec $nixjoin -i $join_flags $nixhome -- \
env -i "${env[@]}" @out@/bin/stage2
env -i "${env[@]}" @out@/bin/stage2 "$@"

View File

@ -13,4 +13,4 @@ if [ -e /usr ]; then
exit 1
fi
exec @program@
exec @program@ "$@"