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-server/flake.nix

20 lines
468 B
Nix
Raw Normal View History

2022-03-27 17:45:55 -07:00
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = import nixpkgs { inherit system; };
2022-03-27 18:05:54 -07:00
katex-server = import ./default.nix { inherit (pkgs) mkYarnPackage; };
2022-03-27 17:45:55 -07:00
in
{
packages = { inherit katex-server; };
defaultPackage = katex-server;
}
);
}