Skip to content

Commit df7a9c1

Browse files
authored
Merge pull request #71 from K900/plasma-6-isos
Ship Plasma 6 ISOs
2 parents 7b22f47 + e427972 commit df7a9c1

File tree

3 files changed

+29
-7
lines changed

3 files changed

+29
-7
lines changed

flake.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,24 @@
66
outputs = { self, nixpkgs }:
77
{
88
overlays.default = final: prev: {
9-
nix-index-unwrapped = prev.nix-index-unwrapped.overrideAttrs(old: {
10-
patches = [ ./nix-index-https.patch ];
9+
nix-index-unwrapped = (prev.nix-index-unwrapped.override {
10+
rustPlatform = final.rustPackages_1_76.rustPlatform;
11+
}).overrideAttrs(old: rec {
12+
version = "0.1.7-unstable-2024-05-11";
13+
14+
# commit with proper HTTPS fixes
15+
# FIXME: unpin after next release
16+
src = final.fetchFromGitHub {
17+
owner = "nix-community";
18+
repo = "nix-index";
19+
rev = "195fb3525038e40836b8d286371365f5e7857c0c";
20+
hash = "sha256-Cw6Q9rHcLjPKzab5O4G7cetFAaTZCex2VLvYIhJCbpg=";
21+
};
22+
23+
cargoDeps = final.rustPlatform.fetchCargoTarball {
24+
inherit src;
25+
hash = "sha256-Pl56f8FU/U/x4gkTt5yXxE8FVQ/pGBDuxxP7HrfsaBc=";
26+
};
1127
});
1228

1329
nixos-channel-native-programs = with final; stdenv.mkDerivation {

mirror-nixos-branch.pl

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,13 @@ sub fetch {
219219

220220
# All of these jobs are not present in small channels
221221
if ($channelName !~ /-small/) {
222-
downloadFile("nixos.iso_plasma5.aarch64-linux");
223-
downloadFile("nixos.iso_plasma5.x86_64-linux");
222+
if ($channelName =~ /nixos-2[0123]/) {
223+
downloadFile("nixos.iso_plasma5.aarch64-linux");
224+
downloadFile("nixos.iso_plasma5.x86_64-linux");
225+
} else {
226+
downloadFile("nixos.iso_plasma6.aarch64-linux");
227+
downloadFile("nixos.iso_plasma6.x86_64-linux");
228+
}
224229

225230
downloadFile("nixos.iso_gnome.aarch64-linux");
226231
downloadFile("nixos.iso_gnome.x86_64-linux");
@@ -357,6 +362,7 @@ sub redirect {
357362

358363
for my $artifact ("nixos-graphical",
359364
"nixos-plasma5",
365+
"nixos-plasma6",
360366
"nixos-gnome",
361367
"nixos-minimal",
362368
)

0 commit comments

Comments
 (0)