108: Nixos 23.05 r=Mic92 a=Mic92



Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
This commit is contained in:
bors[bot] 2023-06-11 05:50:36 +00:00 committed by GitHub
commit 9ecfd698b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 19 additions and 55 deletions

View file

@ -1,15 +1,15 @@
cut_body_after = "" # don't include text from the PR body in the merge commit message cut_body_after = "" # don't include text from the PR body in the merge commit message
status = [ status = [
"Evaluate flake.nix", "Evaluate flake.nix",
"check kexec-installer-2211 [x86_64-linux]", "check kexec-installer-2305 [x86_64-linux]",
"check kexec-installer-unstable [x86_64-linux]", "check kexec-installer-unstable [x86_64-linux]",
"check shellcheck [x86_64-linux]", "check shellcheck [x86_64-linux]",
"package kexec-installer-nixos-2211 [x86_64-linux]", "package kexec-installer-nixos-2305 [x86_64-linux]",
"package kexec-installer-nixos-2211-noninteractive [x86_64-linux]", "package kexec-installer-nixos-2305-noninteractive [x86_64-linux]",
"package kexec-installer-nixos-unstable [x86_64-linux]", "package kexec-installer-nixos-unstable [x86_64-linux]",
"package kexec-installer-nixos-unstable-noninteractive [x86_64-linux]", "package kexec-installer-nixos-unstable-noninteractive [x86_64-linux]",
"package netboot-installer-nixos-2211 [x86_64-linux]", "package netboot-installer-nixos-2305 [x86_64-linux]",
"package netboot-installer-nixos-unstable [x86_64-linux]", "package netboot-installer-nixos-unstable [x86_64-linux]",
"package netboot-nixos-2211 [x86_64-linux]", "package netboot-nixos-2305 [x86_64-linux]",
"package netboot-nixos-unstable [x86_64-linux]" "package netboot-nixos-unstable [x86_64-linux]"
] ]

View file

@ -1,35 +1,17 @@
{ {
"nodes": { "nodes": {
"disko": { "nixos-2305": {
"inputs": {
"nixpkgs": "nixpkgs"
},
"locked": { "locked": {
"lastModified": 1686150639, "lastModified": 1686450428,
"narHash": "sha256-QHorMn3tgvCE0BM4QlNb/7vuquz11cS2ke1GSfmgiPo=", "narHash": "sha256-gqTXHowo0x803v93Kb8RW2wCjcYn9mqT1gk+zlyyQgY=",
"owner": "nix-community",
"repo": "disko",
"rev": "f1178c6e72b7d8ab2b55990397969324822275eb",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "disko",
"type": "github"
}
},
"nixos-2211": {
"locked": {
"lastModified": 1686174588,
"narHash": "sha256-3TWcRhBeCzW+sWZbusLkWdL2wTmwIPt3E0TyA43BkRA=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "51d9b86c045e8b1f7a4b4ff106c7d83b3a6f53c7", "rev": "067a81a6859a020135a73fcbb7b16e9fb43dc435",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "NixOS",
"ref": "release-22.11", "ref": "release-23.05",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
@ -50,26 +32,9 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs": {
"locked": {
"lastModified": 1685894048,
"narHash": "sha256-QKqv1QS+22k9oxncj1AnAxeqS5jGnQiUW3Jq3B+dI1w=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "2e56a850786211972d99d2bb39665a9b5a1801d6",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": { "root": {
"inputs": { "inputs": {
"disko": "disko", "nixos-2305": "nixos-2305",
"nixos-2211": "nixos-2211",
"nixos-unstable": "nixos-unstable" "nixos-unstable": "nixos-unstable"
} }
} }

View file

@ -2,8 +2,7 @@
description = "NixOS images"; description = "NixOS images";
inputs.nixos-unstable.url = "github:NixOS/nixpkgs/nixos-unstable-small"; inputs.nixos-unstable.url = "github:NixOS/nixpkgs/nixos-unstable-small";
inputs.nixos-2211.url = "github:NixOS/nixpkgs/release-22.11"; inputs.nixos-2305.url = "github:NixOS/nixpkgs/release-23.05";
inputs.disko.url = "github:nix-community/disko";
nixConfig.extra-substituters = [ nixConfig.extra-substituters = [
"https://cache.garnix.io" "https://cache.garnix.io"
@ -12,7 +11,7 @@
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=" "cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
]; ];
outputs = { self, nixos-unstable, nixos-2211, disko }: let outputs = { self, nixos-unstable, nixos-2305 }: let
supportedSystems = [ "aarch64-linux" "x86_64-linux" ]; supportedSystems = [ "aarch64-linux" "x86_64-linux" ];
forAllSystems = nixos-unstable.lib.genAttrs supportedSystems; forAllSystems = nixos-unstable.lib.genAttrs supportedSystems;
in { in {
@ -22,21 +21,21 @@
netboot-installer = nixpkgs: (nixpkgs.legacyPackages.${system}.nixos [self.nixosModules.netboot-installer]).config.system.build.netboot; netboot-installer = nixpkgs: (nixpkgs.legacyPackages.${system}.nixos [self.nixosModules.netboot-installer]).config.system.build.netboot;
in { in {
netboot-nixos-unstable = netboot nixos-unstable; netboot-nixos-unstable = netboot nixos-unstable;
netboot-nixos-2211 = netboot nixos-2211; netboot-nixos-2305 = netboot nixos-2305;
kexec-installer-nixos-unstable = kexec-installer nixos-unstable []; kexec-installer-nixos-unstable = kexec-installer nixos-unstable [];
kexec-installer-nixos-2211 = kexec-installer nixos-2211 []; kexec-installer-nixos-2305 = kexec-installer nixos-2305 [];
kexec-installer-nixos-unstable-noninteractive = kexec-installer nixos-unstable [ kexec-installer-nixos-unstable-noninteractive = kexec-installer nixos-unstable [
{ system.kexec-installer.name = "nixos-kexec-installer-noninteractive"; } { system.kexec-installer.name = "nixos-kexec-installer-noninteractive"; }
self.nixosModules.noninteractive self.nixosModules.noninteractive
]; ];
kexec-installer-nixos-2211-noninteractive = kexec-installer nixos-2211 [ kexec-installer-nixos-2305-noninteractive = kexec-installer nixos-2305 [
{ system.kexec-installer.name = "nixos-kexec-installer-noninteractive"; } { system.kexec-installer.name = "nixos-kexec-installer-noninteractive"; }
self.nixosModules.noninteractive self.nixosModules.noninteractive
]; ];
netboot-installer-nixos-unstable = netboot-installer nixos-unstable; netboot-installer-nixos-unstable = netboot-installer nixos-unstable;
netboot-installer-nixos-2211 = netboot-installer nixos-2211; netboot-installer-nixos-2305 = netboot-installer nixos-2305;
}); });
nixosModules = { nixosModules = {
kexec-installer = ./nix/kexec-installer/module.nix; kexec-installer = ./nix/kexec-installer/module.nix;
@ -56,8 +55,8 @@
shellcheck ${(pkgs.nixos [self.nixosModules.kexec-installer]).config.system.build.kexecRun} shellcheck ${(pkgs.nixos [self.nixosModules.kexec-installer]).config.system.build.kexecRun}
touch $out touch $out
''; '';
kexec-installer-2211 = nixos-2211.legacyPackages.x86_64-linux.callPackage ./nix/kexec-installer/test.nix { kexec-installer-2305 = nixos-2305.legacyPackages.x86_64-linux.callPackage ./nix/kexec-installer/test.nix {
kexecTarball = self.packages.x86_64-linux.kexec-installer-nixos-2211-noninteractive; kexecTarball = self.packages.x86_64-linux.kexec-installer-nixos-2305-noninteractive;
}; };
}; };
}; };