feat: tex rendering via temml

This commit is contained in:
2026-02-16 03:55:07 -07:00
parent a26df4011a
commit 651ed4f26c
19 changed files with 690 additions and 60 deletions

View File

@@ -3,7 +3,7 @@
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
clj-nix.url = "github:jlesquembre/clj-nix";
# clj-nix.url = "path:///home/msyds/git/clj-nix";
sydpkgs.url = "github:msyds/sydpkgs";
};
outputs = { self, nixpkgs, clj-nix, ... }@inputs:
@@ -19,6 +19,7 @@
pkgs = import nixpkgs {
inherit system;
overlays = [
inputs.sydpkgs.overlays.default
clj-nix.overlays.default
self.overlays.default
];
@@ -31,7 +32,7 @@
_pkgs = each-system ({ pkgs, ... }: pkgs);
packages = each-system ({ pkgs, ... }: {
inherit (pkgs) publisher doerg doerg-parser;
inherit (pkgs) publisher doerg doerg-parser doerg-tex;
default = pkgs.publisher;
});
@@ -42,7 +43,8 @@
inherit (vendored) ibm-plex-web;
publisher = final.callPackage ./publisher/package.nix {};
doerg = final.callPackage ./doerg/package.nix {};
doerg-parser = final.callPackage ./doerg/doerg-parser/package.nix {};
doerg-parser = final.callPackage ./doerg/doerg-parser {};
doerg-tex = final.callPackage ./doerg/doerg-tex {};
};
checks = each-system ({ pkgs, system, ... }: {
@@ -54,10 +56,15 @@
devShells = each-system ({ pkgs, system, ... }: {
default = pkgs.mkShell {
inputsFrom = [ pkgs.doerg ];
inputsFrom = [
pkgs.doerg
pkgs.doerg-parser
pkgs.doerg-tex
];
packages = with pkgs; [
clojure-lsp
doerg-parser
doerg-tex
# wahhh ibm-plex-web is a dependency of doerg... why must
# i specify it hereeee.
# ibm-plex-web