update the required extra-container version for nixos 23.05

This commit is contained in:
Erik Arvstedt 2023-07-08 15:33:01 +02:00
parent e2cce7daa8
commit 6c2d1108a4
No known key found for this signature in database
GPG Key ID: 33312B944DD97846

View File

@ -72,9 +72,9 @@ while [[ $# -gt 0 ]]; do
done
containerBin=$(type -P extra-container) || true
if [[ ! ($containerBin && $(realpath "$containerBin") == *extra-container-0.11*) ]]; then
if [[ ! ($containerBin && $(realpath "$containerBin") == *extra-container-0.12*) ]]; then
echo
echo "Building extra-container. Skip this step by adding extra-container 0.11 to PATH."
echo "Building extra-container. Skip this step by adding extra-container 0.12 to PATH."
nix build --out-link /tmp/extra-container "$scriptDir"/..#extra-container
# When this script is run as root, e.g. when run in an extra-container shell,
# chown the gcroot symlink to the regular (login) user so that the symlink can be