2024-05-17 00:01:10 +00:00
|
|
|
{
|
2024-05-17 00:54:26 +00:00
|
|
|
description = "A documentation browser for Auxolotl";
|
2024-05-17 00:01:10 +00:00
|
|
|
inputs.flake-utils.url = "github:numtide/flake-utils";
|
|
|
|
|
2024-05-17 00:54:26 +00:00
|
|
|
inputs.snowfall-lib = {
|
|
|
|
url = "github:snowfallorg/lib";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
|
|
inputs.wiki = {
|
|
|
|
url = "github:auxolotl/wiki";
|
|
|
|
flake = false;
|
|
|
|
};
|
|
|
|
|
2024-05-25 16:21:56 +00:00
|
|
|
inputs.treefmt-nix.url = "github:numtide/treefmt-nix";
|
|
|
|
|
2024-05-17 00:01:10 +00:00
|
|
|
outputs =
|
2024-05-17 00:54:26 +00:00
|
|
|
inputs:
|
|
|
|
inputs.snowfall-lib.mkFlake {
|
|
|
|
inherit inputs;
|
|
|
|
|
|
|
|
src = ./.;
|
|
|
|
|
|
|
|
alias.packages.default = "docs-site";
|
|
|
|
|
|
|
|
snowfall = {
|
|
|
|
root = ./nix;
|
|
|
|
namespace = "auxolotl--docs-site";
|
|
|
|
};
|
|
|
|
|
2024-05-25 16:21:56 +00:00
|
|
|
outputs-builder = channels: let
|
|
|
|
treefmt = inputs.treefmt-nix.lib.evalModule channels.nixpkgs ./treefmt.nix;
|
|
|
|
in {
|
|
|
|
formatter = treefmt.config.build.wrapper;
|
|
|
|
checks.formatting = treefmt.config.build.check inputs.self;
|
|
|
|
};
|
2024-05-17 00:54:26 +00:00
|
|
|
};
|
2024-05-17 00:01:10 +00:00
|
|
|
}
|