This commit is contained in:
2025-10-12 03:49:44 -06:00
parent 651932d786
commit a1d910f999
13 changed files with 144 additions and 13 deletions

View File

@@ -38,6 +38,32 @@ in {
]);
my-tex = pkgs.texlive.combine {
diagrams = pkgs.stdenvNoCC.mkDerivation (final: {
pname = "diagrams-latex";
version = "0.8.0.6-r3";
src = pkgs.fetchFromGitHub {
owner = "diagrams";
repo = "diagrams-builder";
rev = "v${final.version}";
hash = "sha256-/6vAxVWcwsPHh2im12zAD08b9VnsvOUXz/5mYsY7pK0=";
};
nativeBuildInputs = [ pkgs.texlive.combined.scheme-small ];
passthru = {
pkgs = [ final.finalPackage ];
tlDeps = with pkgs.texlive; [
latex
moreverb
];
tlType = "run";
};
installPhase = ''
runHook preInstall
dir="$out/tex/latex/diagrams-latex"
mkdir -p "$dir"
mv latex/diagrams-latex.sty "$dir"
runHook postInstall
'';
});
inherit (pkgs.texlive)
scheme-basic # Set of common packages.
fontspec
@@ -56,6 +82,7 @@ in {
collection-fontsrecommended # Essential fonts.
etoolbox # For Org-mode exports.
siunitx # Typesetting units.
moderncv
# Tufte-latex and its stupid fucking dependencies.
tufte-latex
xkeyval

View File

@@ -177,4 +177,7 @@ form."
(user-error (concat "Ignoring a call to `lsp-install-server'"
" — tell the caller to use Nix!")))
(defun syd-str (sep &rest strs)
(mapconcat #'identity strs sep))
(provide 'syd-prelude)

View File

@@ -0,0 +1,3 @@
;;; -*- lisp-data -*-
(("/persist/dots/")
("/persist/dots/modules/home/users/crumb/emacs/elpa/org-mode/"))

View File

@@ -0,0 +1 @@
nil