flake: update extra-container

Adds support for NixOS 24.11
This commit is contained in:
Erik Arvstedt 2024-12-13 23:21:32 +01:00
parent 2d53b57636
commit b5e5974b8a
No known key found for this signature in database
GPG key ID: 33312B944DD97846
3 changed files with 7 additions and 6 deletions

View file

@ -1,7 +1,7 @@
containerBin=$(type -P extra-container) || true
if [[ ! ($containerBin && $(realpath "$containerBin") == *extra-container-0.12*) ]]; then
if [[ ! ($containerBin && $(realpath "$containerBin") == *extra-container-0.13*) ]]; then
echo
echo "Building extra-container. Skip this step by adding extra-container 0.12 to PATH."
echo "Building extra-container. Skip this step by adding extra-container 0.13 to PATH."
nix build --out-link /tmp/extra-container "${BASH_SOURCE[0]%/*}"/../..#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