@hsjobeki Co-authored-by: Johannes Kirschbauer <hsjobeki@gmail.com> Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5023
32 lines
665 B
Nix
32 lines
665 B
Nix
{
|
|
|
|
inputs = {
|
|
clan-core.url = "https://git.clan.lol/clan/clan-core/archive/main.tar.gz";
|
|
nixpkgs.follows = "clan-core/nixpkgs";
|
|
|
|
flake-parts.url = "github:hercules-ci/flake-parts";
|
|
flake-parts.inputs.nixpkgs-lib.follows = "clan-core/nixpkgs";
|
|
};
|
|
|
|
outputs =
|
|
inputs@{ flake-parts, ... }:
|
|
flake-parts.lib.mkFlake { inherit inputs; } (
|
|
{ ... }:
|
|
{
|
|
systems = [
|
|
"x86_64-linux"
|
|
"aarch64-linux"
|
|
"x86_64-darwin"
|
|
"aarch64-darwin"
|
|
];
|
|
|
|
imports = [
|
|
./checks.nix
|
|
./clan.nix
|
|
./devshells.nix
|
|
./formatter.nix
|
|
];
|
|
}
|
|
);
|
|
}
|