This repository has been archived on 2024-05-23. You can view files and clone it, but cannot push or open issues or pull requests.
katex-html/flake.nix

21 lines
611 B
Nix

{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs";
flake-utils.url = "github:numtide/flake-utils";
katex-server.url = "git+https://dev.danilafe.com/Nix-Configs/katex-server";
};
outputs = { self, nixpkgs, flake-utils, katex-server }:
flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = import nixpkgs { inherit system; };
katex-html = pkgs.callPackage ./default.nix { katex-server = katex-server.defaultPackage.${system}; };
in
{
packages = { inherit katex-html; };
defaultPackage = katex-html;
}
);
}