Update nixos-unstable and drop 21.11

This commit is contained in:
Naïm Favier 2022-01-21 14:42:39 +01:00
parent f4c14572fc
commit 4ed684481b
6 changed files with 13 additions and 68 deletions

View file

@ -4,26 +4,20 @@
inputs = {
utils.url = "github:numtide/flake-utils";
nixpkgs.url = "flake:nixpkgs/nixos-unstable";
nixpkgs-21_11.url = "flake:nixpkgs/nixos-21.11";
blobs = {
url = "gitlab:simple-nixos-mailserver/blobs";
flake = false;
};
};
outputs = { self, utils, blobs, nixpkgs, nixpkgs-21_11 }: let
outputs = { self, utils, blobs, nixpkgs }: let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
# We want to test nixos-mailserver on several nixos releases
releases = [
{
name = "unstable";
pkgs = nixpkgs.legacyPackages.${system};
}
{
name = "21_11";
pkgs = nixpkgs-21_11.legacyPackages.${system};
}
];
testNames = [
"internal"