From 03356efc1419a4729d1748aecd482036e190ceee Mon Sep 17 00:00:00 2001 From: Savil Srivastava <676452+savil@users.noreply.github.com> Date: Wed, 25 Sep 2024 10:55:00 -0700 Subject: [PATCH] bump installed nix version to latest, and update test-nix-versions --- .github/workflows/cli-tests.yaml | 4 ++-- internal/nix/install.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cli-tests.yaml b/.github/workflows/cli-tests.yaml index cf498041c24..635f66dd219 100644 --- a/.github/workflows/cli-tests.yaml +++ b/.github/workflows/cli-tests.yaml @@ -208,13 +208,13 @@ jobs: run: devbox rm go # Run a sanity test to make sure Devbox can install and remove packages with - # the last 3 Nix releases. + # the last few Nix releases. test-nix-versions: needs: build-devbox strategy: matrix: os: [ubuntu-latest, macos-13] - nix-version: [2.15.1, 2.16.1, 2.17.0, 2.18.0, 2.19.2] + nix-version: [2.15.1, 2.16.1, 2.17.0, 2.18.0, 2.19.2, 2.24.7] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 diff --git a/internal/nix/install.go b/internal/nix/install.go index ddebb1b4901..2f8b46eeee3 100644 --- a/internal/nix/install.go +++ b/internal/nix/install.go @@ -38,7 +38,7 @@ func Install(writer io.Writer, daemon *bool) error { } defer r.Close() - installScript := "curl -L https://releases.nixos.org/nix/nix-2.18.1/install | sh -s" + installScript := "curl -L https://releases.nixos.org/nix/nix-2.24.7/install | sh -s" if daemon != nil { if *daemon { installScript += " -- --daemon"