docs/flake.nix
2024-07-28 08:35:44 +00:00

32 lines
952 B
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;
outputs =
inputs:
inputs.snowfall-lib.mkFlake {
inherit inputs;
src = ./.;
snowfall = {
namespace = "amg";
meta = {
name = "aux-manual-gen";
title = "Aux Manual Generator";
};
};
outputs-builder = channels: {
checks."aux-wiki/../path-traversal/../../../foo" = 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;
};
};
}