mirror of
https://github.com/NorfairKing/autodocodec.git
synced 2024-11-30 03:22:52 +03:00
21 lines
527 B
Nix
21 lines
527 B
Nix
let
|
|
sources = import ./nix/sources.nix;
|
|
|
|
versions = {
|
|
"nixos-22_05" = sources.nixpkgs-22_05;
|
|
};
|
|
|
|
mkReleaseForVersion = version: nixpkgs:
|
|
let
|
|
p = import ./nix/pkgs.nix {
|
|
inherit sources nixpkgs;
|
|
};
|
|
|
|
in
|
|
p.autodocodecRelease.overrideAttrs (old: { name = "autodocodec-release-${version}"; });
|
|
in
|
|
{
|
|
release = (import ./nix/pkgs.nix { inherit sources; }).autodocodecRelease;
|
|
pre-commit-check = (import ./nix/pre-commit.nix { }).run;
|
|
} // builtins.mapAttrs mkReleaseForVersion versions
|