flake: update extra-container
Adds support for NixOS 24.11
This commit is contained in:
parent
2d53b57636
commit
b5e5974b8a
3 changed files with 7 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue