Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/cli-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ env:
HOMEBREW_NO_INSTALL_CLEANUP: 1
NIX_CONFIG: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}

jobs:
build-devbox:
strategy:
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:
exit 1
fi
- run: ./result/bin/devbox version

golangci-lint:
strategy:
matrix:
Expand Down Expand Up @@ -134,14 +134,14 @@ jobs:
# merging, while keeping the others as an additional non-required signal
run-project-tests: ["project-tests-only", "project-tests-off"]
# Run tests on:
# 1. the oldest supported nix version (which is 2.9.0? But determinate-systems installer has 2.12.0)
# 1. the oldest supported nix version (Nixpkgs requires >= 2.18 as of 2026)
# 2. nix 2.19.2: version before nix profile changes
# 2. latest nix version (note, 2.20.1 introduced a new profile change)
nix-version: ["2.12.0", "2.19.2", "2.30.2"]
# 3. latest nix version (note, 2.20.1 introduced a new profile change)
nix-version: ["2.18.0", "2.19.2", "2.30.2"]
exclude:
# Only runs tests on macos if explicitly requested, or on a schedule
- os: "${{ (inputs.run-mac-tests || github.event.schedule != '') && 'dummy' || 'macos-latest' }}"


runs-on: ${{ matrix.os }}
timeout-minutes: 60
Expand Down Expand Up @@ -273,7 +273,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
nix-version: [2.15.1, 2.16.1, 2.17.0, 2.18.0, 2.19.2, 2.24.7]
nix-version: [2.18.0, 2.19.2, 2.24.7, 2.30.2]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion internal/nix/shim.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const (
Version2_24 = nix.Version2_24
Version2_25 = nix.Version2_25

MinVersion = nix.Version2_12
MinVersion = nix.Version2_18
)

type (
Expand Down
2 changes: 1 addition & 1 deletion nix/nix.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ const (
Version2_24 = "2.24.0"
Version2_25 = "2.25.0"

MinVersion = Version2_12
MinVersion = Version2_18
)

// versionRegexp matches the first line of "nix --version" output.
Expand Down
Loading