update: fileless spawn of LaTeX Environment

This commit is contained in:
2026-05-27 01:38:25 +09:00
parent 9a16caafc9
commit 67f994d7ee
13 changed files with 281 additions and 160 deletions
+39
View File
@@ -0,0 +1,39 @@
{ pkgs, eskk-vim-src }:
[
(final: prev: {
vimPlugins = prev.vimPlugins // {
vim-eskk = prev.vimUtils.buildVimPlugin {
name = "vim-eskk";
src = eskk-vim-src;
};
};
})
(final: prev: {
my-latex-pkgs = prev.stdenvNoCC.mkDerivation {
pname = "my-latex-pkgs";
src = ../tex;
version = "0.0.1";
outputs = [
"tex"
];
nativeBuildInputs = [
(prev.writeShellScript "force-tex-output.sh" ''
out="''${tex-}"
'')
];
dontConfigure = true;
dontBuild = true;
installPhase = ''
runHook preInstall
path="$tex/tex/latex/my-latex-pkgs"
mkdir -p "$path"
cp *.sty "$path/"
runHook postInstall
'';
};
})
]