diff --git a/flake.lock b/flake.lock index 5916bb8..1d27749 100644 --- a/flake.lock +++ b/flake.lock @@ -2,11 +2,11 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1708440434, - "narHash": "sha256-XY+B9mbhL/i+Q6fP6gBQ6P76rv9rWtpjQiUJ+DGtaUg=", + "lastModified": 1716239187, + "narHash": "sha256-5oyOV5ZlqXYQ8RB6lvVrKxVBeBPE/ZsLY+qQKqSJLZM=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "526d051b128b82ae045a70e5ff1adf8e6dafa560", + "rev": "f88df4bf25b729d78712c441fb0910f7085e9395", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index f412f80..dab85cf 100644 --- a/flake.nix +++ b/flake.nix @@ -6,8 +6,24 @@ outputs = { self, nixpkgs }: { overlays.default = final: prev: { - nix-index-unwrapped = prev.nix-index-unwrapped.overrideAttrs(old: { - patches = [ ./nix-index-https.patch ]; + nix-index-unwrapped = (prev.nix-index-unwrapped.override { + rustPlatform = final.rustPackages_1_76.rustPlatform; + }).overrideAttrs(old: rec { + version = "0.1.7-unstable-2024-05-11"; + + # commit with proper HTTPS fixes + # FIXME: unpin after next release + src = final.fetchFromGitHub { + owner = "nix-community"; + repo = "nix-index"; + rev = "195fb3525038e40836b8d286371365f5e7857c0c"; + hash = "sha256-Cw6Q9rHcLjPKzab5O4G7cetFAaTZCex2VLvYIhJCbpg="; + }; + + cargoDeps = final.rustPlatform.fetchCargoTarball { + inherit src; + hash = "sha256-Pl56f8FU/U/x4gkTt5yXxE8FVQ/pGBDuxxP7HrfsaBc="; + }; }); nixos-channel-native-programs = with final; stdenv.mkDerivation { diff --git a/mirror-nixos-branch.pl b/mirror-nixos-branch.pl index b483428..e860928 100755 --- a/mirror-nixos-branch.pl +++ b/mirror-nixos-branch.pl @@ -219,8 +219,13 @@ if ($bucketReleases && $bucketReleases->head_key("$releasePrefix")) { # All of these jobs are not present in small channels if ($channelName !~ /-small/) { - downloadFile("nixos.iso_plasma5.aarch64-linux"); - downloadFile("nixos.iso_plasma5.x86_64-linux"); + if ($channelName =~ /nixos-2[0123]/) { + downloadFile("nixos.iso_plasma5.aarch64-linux"); + downloadFile("nixos.iso_plasma5.x86_64-linux"); + } else { + downloadFile("nixos.iso_plasma6.aarch64-linux"); + downloadFile("nixos.iso_plasma6.x86_64-linux"); + } downloadFile("nixos.iso_gnome.aarch64-linux"); downloadFile("nixos.iso_gnome.x86_64-linux"); @@ -357,6 +362,7 @@ if ($channelName =~ /nixos/) { for my $artifact ("nixos-graphical", "nixos-plasma5", + "nixos-plasma6", "nixos-gnome", "nixos-minimal", )