forked from auxolotl/docs
45 lines
1.3 KiB
Nix
45 lines
1.3 KiB
Nix
{
|
|
description = "Aux Manual Generator";
|
|
|
|
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
|
inputs.snowfall-lib = {
|
|
url = "github:snowfallorg/lib";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
inputs.aux-wiki.url = "git+https://git.auxolotl.org/auxolotl/wiki";
|
|
inputs.aux-wiki.flake = false;
|
|
|
|
inputs.treefmt-nix = {
|
|
url = "github:numtide/treefmt-nix";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
outputs =
|
|
inputs:
|
|
inputs.snowfall-lib.mkFlake {
|
|
inherit inputs;
|
|
src = ./.;
|
|
snowfall = {
|
|
namespace = "amg";
|
|
meta = {
|
|
name = "aux-manual-gen";
|
|
title = "Aux Manual Generator";
|
|
};
|
|
};
|
|
|
|
outputs-builder =
|
|
channels:
|
|
let
|
|
treefmt = inputs.treefmt-nix.lib.evalModule channels.nixpkgs ./treefmt.nix;
|
|
in
|
|
{
|
|
checks."//tmp/this-is-path-traversal" = inputs.self.packages.${channels.nixpkgs.system}.aux-wiki;
|
|
checks."/aux-wiki/path-traversal-2" = inputs.self.packages.${channels.nixpkgs.system}.aux-wiki;
|
|
checks."aux-wiki/all-good" = inputs.self.packages.${channels.nixpkgs.system}.aux-wiki;
|
|
|
|
formatter = treefmt.config.build.wrapper;
|
|
checks.formatting = treefmt.config.build.check inputs.self;
|
|
};
|
|
};
|
|
}
|