Skip to content

Commit

Permalink
Disable ubuntu-24.04 for now
Browse files Browse the repository at this point in the history
The Nix sandbox doesn't seem to work for Nix 2.3 due to
https://ubuntu.com/blog/ubuntu-23-10-restricted-unprivileged-user-namespaces
  • Loading branch information
rickynils committed Nov 5, 2024
1 parent b910fa1 commit 3cc323e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ jobs:
fail-fast: true
matrix:
os:
- ubuntu-24.04
- ubuntu-22.04
- macos-13
nix_version:
Expand Down Expand Up @@ -89,7 +88,6 @@ jobs:
fail-fast: true
matrix:
os:
- ubuntu-24.04
- ubuntu-22.04
- macos-13
nix_version:
Expand Down Expand Up @@ -136,7 +134,6 @@ jobs:
fail-fast: true
matrix:
os:
- ubuntu-24.04
- ubuntu-22.04
- macos-13
nix_version:
Expand Down
6 changes: 1 addition & 5 deletions nix-quick-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,7 @@ done

# Install nix in profile
MANPATH= . "$nix/etc/profile.d/nix.sh"
if vergt "$NIX_VERSION" "2.4"; then
"$nix/bin/nix-env" -i "$nix"
else
"$nix/bin/nix-env" --option sandbox false -i "$nix"
fi
"$nix/bin/nix-env" -i "$nix"

# Certificate bundle is not detected by nix.sh on macOS.
if [ -z "${NIX_SSL_CERT_FILE:-}" -a -e "/etc/ssl/cert.pem" ]; then
Expand Down

0 comments on commit 3cc323e

Please sign in to comment.