Skip to content

Commit

Permalink
Bump Nix versions, and add Nix 2.22, 2.23, 2.24
Browse files Browse the repository at this point in the history
  • Loading branch information
rickynils committed Oct 21, 2024
1 parent 6d8e472 commit e552980
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 22 deletions.
39 changes: 24 additions & 15 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,14 @@ jobs:
- macos-12
- macos-11
nix_version:
- 2.21.0
- 2.20.5
- 2.19.3
- 2.18.2
- 2.3.17
- 2.24.9
- 2.23.3
- 2.22.3
- 2.21.4
- 2.20.8
- 2.19.6
- 2.18.8
- 2.3.18
runs-on: ${{ matrix.os }}
steps:
- uses: divnix/[email protected]
Expand Down Expand Up @@ -92,11 +95,14 @@ jobs:
- macos-12
- macos-11
nix_version:
- 2.21.0
- 2.20.5
- 2.19.3
- 2.18.2
- 2.3.17
- 2.24.9
- 2.23.3
- 2.22.3
- 2.21.4
- 2.20.8
- 2.19.6
- 2.18.8
- 2.3.18
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -137,11 +143,14 @@ jobs:
- macos-12
- macos-11
nix_version:
- 2.21.0
- 2.20.5
- 2.19.3
- 2.18.2
- 2.3.17
- 2.24.9
- 2.23.3
- 2.22.3
- 2.21.4
- 2.20.8
- 2.19.6
- 2.18.8
- 2.3.18
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ inputs:

nix_version:
required: true
default: "2.21.0"
default: "2.21.4"
description: |
The version of Nix that should be installed
Expand Down
8 changes: 4 additions & 4 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

inputs = {
flake-utils.url = "github:numtide/flake-utils";
nixpkgs-unstable.url = "nixpkgs/276624921a196180387832713961b1b8d06ec178";
nixpkgs-unstable.url = "nixpkgs/ccc0c2126893dd20963580b6478d1a10a4512185";
};

nixConfig = {
Expand Down Expand Up @@ -52,7 +52,11 @@
nixVersions = system: lib.listToAttrs (map (nix: lib.nameValuePair
nix.version nix
) (
[ nixpkgs-unstable.legacyPackages.${system}.nixVersions.nix_2_21
[
nixpkgs-unstable.legacyPackages.${system}.nixVersions.latest
nixpkgs-unstable.legacyPackages.${system}.nixVersions.nix_2_23
nixpkgs-unstable.legacyPackages.${system}.nixVersions.nix_2_22
nixpkgs-unstable.legacyPackages.${system}.nixVersions.nix_2_21
nixpkgs-unstable.legacyPackages.${system}.nixVersions.nix_2_20
nixpkgs-unstable.legacyPackages.${system}.nixVersions.nix_2_19
nixpkgs-unstable.legacyPackages.${system}.nixVersions.nix_2_18
Expand Down

0 comments on commit e552980

Please sign in to comment.