2021-10-20 18:59:50 +03:00
|
|
|
let
|
|
|
|
sources = import ./nix/sources.nix;
|
|
|
|
|
2021-10-30 14:00:37 +03:00
|
|
|
versions = { };
|
2021-10-20 18:59:50 +03:00
|
|
|
|
|
|
|
mkReleaseForVersion = version: rev:
|
|
|
|
let
|
|
|
|
pkgsf = builtins.fetchGit {
|
|
|
|
url = "https://github.com/NixOS/nixpkgs";
|
|
|
|
inherit rev;
|
|
|
|
};
|
|
|
|
p = import ./nix/pkgs.nix { inherit sources; inherit pkgsf; };
|
|
|
|
in
|
2021-10-24 20:21:59 +03:00
|
|
|
p.autodocodecRelease.overrideAttrs (old: { name = "autodocodec-release-${version}"; });
|
2021-10-20 18:59:50 +03:00
|
|
|
in
|
|
|
|
{
|
2021-10-24 20:21:59 +03:00
|
|
|
release = (import ./nix/pkgs.nix { inherit sources; }).autodocodecRelease;
|
2021-10-20 18:59:50 +03:00
|
|
|
pre-commit-check = (import ./nix/pre-commit.nix { }).run;
|
|
|
|
} // builtins.mapAttrs mkReleaseForVersion versions
|