mirror of
https://github.com/kenryuS/report-temp.git
synced 2026-06-14 16:26:13 +09:00
moved out from abi dependent section
This commit is contained in:
@@ -30,16 +30,6 @@
|
|||||||
];
|
];
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
templates = {
|
|
||||||
latex = {
|
|
||||||
path = ./templates/latex;
|
|
||||||
description = "Template for LaTeX";
|
|
||||||
};
|
|
||||||
pandoc = {
|
|
||||||
path = ./templates/pandoc;
|
|
||||||
description = "Template for Pandoc Markdown";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
devShells.default = self.devShells.${system}.latex;
|
devShells.default = self.devShells.${system}.latex;
|
||||||
devShells.latex = pkgs.stdenv.mkDerivation {
|
devShells.latex = pkgs.stdenv.mkDerivation {
|
||||||
inherit name;
|
inherit name;
|
||||||
@@ -60,5 +50,17 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
);
|
) // {
|
||||||
|
templates = {
|
||||||
|
latex = {
|
||||||
|
path = ./templates/latex;
|
||||||
|
description = "Template for LaTeX";
|
||||||
|
};
|
||||||
|
pandoc = {
|
||||||
|
path = ./templates/pandoc;
|
||||||
|
description = "Template for Pandoc Markdown";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
defaultTemplate = self.templates.latex;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user