Skip to content
This repository was archived by the owner on Sep 20, 2026. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions code.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,13 @@ for i in "${SDK[@]}"; do
fi
done

# On NixOS, /etc/shells is a symlink to /etc/static/shells. Since symlink
# targets resolve in the sandbox's own root, not relative to /var/run/host,
# that inner hop 404s unless /etc/static/shells also exists in the sandbox.
if [ ! -e /etc/static/shells ] && [ -e /var/run/host/etc/static/shells ]; then
ln -s /var/run/host/etc/static/shells /etc/static/shells
fi

if [ ! -e /etc/shells ] && [ -e /var/run/host/etc/shells ]; then
ln -s /var/run/host/etc/shells /etc/shells
fi
Expand Down
Loading