mirror of
https://github.com/numtide/nixos-anywhere.git
synced 2024-09-11 13:15:44 +03:00
also test nixos-22.11
This commit is contained in:
parent
12eff4e29f
commit
85f36e3b0d
21
flake.lock
21
flake.lock
@ -41,9 +41,27 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixos-2211": {
|
||||
"locked": {
|
||||
"lastModified": 1684141842,
|
||||
"narHash": "sha256-sbdzOwBDcyzz/Dr1ztdF+tElMyM/cgx+4XxVgz+NLRM=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "2eb0795720849ae19c068e39b17362d3ebcd585c",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "release-22.11",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixos-images": {
|
||||
"inputs": {
|
||||
"nixos-2211": [],
|
||||
"nixos-2211": [
|
||||
"nixos-2211"
|
||||
],
|
||||
"nixos-unstable": [
|
||||
"nixpkgs"
|
||||
]
|
||||
@ -82,6 +100,7 @@
|
||||
"inputs": {
|
||||
"disko": "disko",
|
||||
"flake-parts": "flake-parts",
|
||||
"nixos-2211": "nixos-2211",
|
||||
"nixos-images": "nixos-images",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"treefmt-nix": "treefmt-nix"
|
||||
|
@ -6,9 +6,10 @@
|
||||
flake-parts = { url = "github:hercules-ci/flake-parts"; inputs.nixpkgs-lib.follows = "nixpkgs"; };
|
||||
disko = { url = "github:nix-community/disko/master"; inputs.nixpkgs.follows = "nixpkgs"; };
|
||||
# used for testing
|
||||
nixos-2211.url = "github:NixOS/nixpkgs/release-22.11";
|
||||
nixos-images.url = "github:nix-community/nixos-images";
|
||||
nixos-images.inputs.nixos-2211.follows = "";
|
||||
nixos-images.inputs.nixos-unstable.follows = "nixpkgs";
|
||||
nixos-images.inputs.nixos-2211.follows = "nixos-2211";
|
||||
# used for development
|
||||
treefmt-nix = { url = "github:numtide/treefmt-nix"; inputs.nixpkgs.follows = "nixpkgs"; };
|
||||
};
|
||||
|
@ -9,9 +9,14 @@
|
||||
nixos-anywhere = config.packages.nixos-anywhere;
|
||||
kexec-installer = "${inputs'.nixos-images.packages.kexec-installer-nixos-unstable-noninteractive}/nixos-kexec-installer-noninteractive-${system}.tar.gz";
|
||||
};
|
||||
testInputs2211 = testInputs // {
|
||||
kexec-installer = "${inputs'.nixos-images.packages.kexec-installer-nixos-2211-noninteractive}/nixos-kexec-installer-noninteractive-${system}.tar.gz";
|
||||
};
|
||||
in
|
||||
{
|
||||
from-nixos = import ./from-nixos.nix testInputs;
|
||||
from-nixos-2211 = import ./from-nixos.nix testInputs2211;
|
||||
from-nixos-with-sudo = import ./from-nixos-with-sudo.nix testInputs;
|
||||
from-nixos-with-sudo-2211 = import ./from-nixos-with-sudo.nix testInputs2211;
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user