diff --git a/flake.lock b/flake.lock index ea9e6ac4..99cdf5d8 100644 --- a/flake.lock +++ b/flake.lock @@ -1305,6 +1305,22 @@ "type": "github" } }, + "nixpkgs-24-05": { + "locked": { + "lastModified": 1718086528, + "narHash": "sha256-hoB7B7oPgypePz16cKWawPfhVvMSXj4G/qLsfFuhFjw=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "47b604b07d1e8146d5398b42d3306fdebd343986", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-24.05", + "repo": "nixpkgs", + "type": "github" + } + }, "nixpkgs-lib": { "locked": { "dir": "lib", @@ -1439,22 +1455,6 @@ "type": "github" } }, - "nixpkgsNix": { - "locked": { - "lastModified": 1715787315, - "narHash": "sha256-cYApT0NXJfqBkKcci7D9Kr4CBYZKOQKDYA23q8XNuWg=", - "owner": "nixos", - "repo": "nixpkgs", - "rev": "33d1e753c82ffc557b4a585c77de43d4c922ebb5", - "type": "github" - }, - "original": { - "owner": "nixos", - "ref": "nixos-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, "nixpkgsPulumi": { "locked": { "lastModified": 1715674170, @@ -1683,9 +1683,12 @@ "nixpkgs-23-11" ], "nixpkgs-23-11": "nixpkgs-23-11", + "nixpkgs-24-05": "nixpkgs-24-05", "nixpkgsGithubActionRunners": "nixpkgsGithubActionRunners", "nixpkgsMaster": "nixpkgsMaster", - "nixpkgsNix": "nixpkgsNix", + "nixpkgsNix": [ + "nixpkgs-24-05" + ], "nixpkgsPulumi": "nixpkgsPulumi", "nixpkgsUnstable": "nixpkgsUnstable", "sbd": "sbd", diff --git a/flake.nix b/flake.nix index 7ec987b0..00d7fd58 100644 --- a/flake.nix +++ b/flake.nix @@ -4,7 +4,8 @@ inputs = { nixpkgs.follows = "nixpkgs-23-11"; nixpkgs-23-11 = {url = "github:nixos/nixpkgs/nixos-23.11";}; - nixpkgsNix = {url = "github:nixos/nixpkgs/nixos-unstable";}; + nixpkgs-24-05 = {url = "github:nixos/nixpkgs/nixos-24.05";}; + nixpkgsNix.follows = "nixpkgs-24-05"; nixpkgsGithubActionRunners = {url = "github:nixos/nixpkgs/nixos-unstable";}; nixpkgsUnstable = {url = "github:nixos/nixpkgs/nixos-unstable";}; nixpkgsMaster = {url = "github:nixos/nixpkgs/master";}; diff --git a/modules/nixos/shared.nix b/modules/nixos/shared.nix index 25d1d2b9..2e9cc640 100644 --- a/modules/nixos/shared.nix +++ b/modules/nixos/shared.nix @@ -17,7 +17,7 @@ # ] ; - nix.package = lib.mkDefault inputs.nixpkgsNix.legacyPackages.${pkgs.stdenv.system}.nixVersions.nix_2_20; + nix.package = lib.mkDefault inputs.nixpkgsNix.legacyPackages.${pkgs.stdenv.system}.nixVersions.nix_2_21; nix.settings.extra-platforms = lib.mkIf pkgs.stdenv.isDarwin ["x86_64-darwin" "aarch64-darwin"];