Drop 21.05 branch

This commit is contained in:
Naïm Favier 2022-01-21 13:02:15 +01:00
parent ef03562eba
commit f4c14572fc
4 changed files with 5 additions and 27 deletions

View file

@ -4,7 +4,6 @@
inputs = {
utils.url = "github:numtide/flake-utils";
nixpkgs.url = "flake:nixpkgs/nixos-unstable";
nixpkgs-21_05.url = "flake:nixpkgs/nixos-21.05";
nixpkgs-21_11.url = "flake:nixpkgs/nixos-21.11";
blobs = {
url = "gitlab:simple-nixos-mailserver/blobs";
@ -12,7 +11,7 @@
};
};
outputs = { self, utils, blobs, nixpkgs, nixpkgs-21_05, nixpkgs-21_11 }: let
outputs = { self, utils, blobs, nixpkgs, nixpkgs-21_11 }: let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
# We want to test nixos-mailserver on several nixos releases
@ -21,10 +20,6 @@
name = "unstable";
pkgs = nixpkgs.legacyPackages.${system};
}
{
name = "21_05";
pkgs = nixpkgs-21_05.legacyPackages.${system};
}
{
name = "21_11";
pkgs = nixpkgs-21_11.legacyPackages.${system};
@ -54,7 +49,7 @@
mailserverModule = import ./.;
# Generate a rst file describing options of the NixOS mailserver module
# Generate a rst file describing options of the NixOS mailserver module
generateRstOptions = let
eval = import (pkgs.path + "/nixos/lib/eval-config.nix") {
inherit system;
@ -68,7 +63,7 @@
mailserver.fqdn = "mx.example.com";
}
];
};
options = pkgs.nixosOptionsDoc {
options = eval.options;