Skip to content

Commit 3347626

Browse files
committed
Document nix 2.18 requirement; disable nix setup test for nix 2.6
Since August 2025, nixpkgs requires a nix version of at least nix 2.18. Consequently, our nix setup tests using nix 2.6.1 and Ubuntu 22 (nix 2.6.0) break. This comment documents that at least nix 2.18 is required, updates the nix test to 2.18.0, and (temporarily) disables the Ubuntu 22 test. Signed-off-by: Matthias J. Kannwischer <[email protected]>
1 parent d0e5eba commit 3347626

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/workflows/nix.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,15 @@ jobs:
8888
fail-fast: false
8989
matrix:
9090
target:
91+
# nixpkgs requires 2.18 since August 2025, see
92+
# https://github.com/NixOS/nixpkgs/pull/428076
93+
# TODO: Re-enable tests on Ubuntu 22 once nix has been updated to >= 2.18
94+
# - runner: ubuntu-22.04
95+
# container:
96+
# install: 'apt'
9197
- runner: ubuntu-latest
92-
container: nixos/nix:2.6.1
98+
container: nixos/nix:2.18.0
9399
install: 'native'
94-
- runner: ubuntu-22.04
95-
container:
96-
install: 'apt'
97100
- runner: ubuntu-24.04
98101
container:
99102
install: 'apt'

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ any of the open issues. Here are some things to get you started.
99

1010
We specify the development environment for mldsa-native using `nix`. If you want to help develop mldsa-native, please
1111
use `nix`. We recommend using the latest Nix version provided by the [nix installer
12-
script](https://nixos.org/download/), but we currently support all Nix versions >= 2.6.
12+
script](https://nixos.org/download/), but we currently support all Nix versions >= 2.18.
1313

1414
All the development and build dependencies are specified in [flake.nix](flake.nix). To execute a bash shell, run
1515
```bash

0 commit comments

Comments
 (0)