raito
542a3ae836
This is a Rust port of the original Perl script, legacy cruft is removed and it focuses on a modern Hydra deployment. Nonetheless, it knows how to perform migrations based on the channel versions. Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
18 lines
451 B
Nix
18 lines
451 B
Nix
{
|
|
description = "Channel release management tools";
|
|
|
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05-small";
|
|
|
|
outputs = { self, nixpkgs }:
|
|
{
|
|
overlays.default = final: prev: {
|
|
mirror-forkos = (final.callPackage ./Cargo.nix { }).rootCrate.build;
|
|
};
|
|
|
|
defaultPackage.x86_64-linux = (import nixpkgs {
|
|
system = "x86_64-linux";
|
|
overlays = [ self.overlays.default ];
|
|
}).mirror-forkos;
|
|
};
|
|
}
|