feat: move some data into info.toml
This commit is contained in:
parent
22b73648d5
commit
08348908f5
3 changed files with 31 additions and 16 deletions
|
|
@ -20,6 +20,7 @@
|
|||
system:
|
||||
let
|
||||
pkgs = import inputs.nixpkgs { inherit system; };
|
||||
inherit (pkgs) lib;
|
||||
|
||||
typixLib = inputs.typix.lib.${system};
|
||||
|
||||
|
|
@ -34,7 +35,13 @@
|
|||
'';
|
||||
};
|
||||
|
||||
src = typixLib.cleanTypstSource ./.;
|
||||
src = lib.fileset.toSource {
|
||||
root = ./.;
|
||||
fileset = lib.fileset.unions [
|
||||
(lib.fileset.fromSource (typixLib.cleanTypstSource ./.))
|
||||
./src/info.toml
|
||||
];
|
||||
};
|
||||
commonArgs = {
|
||||
typstSource = "src/main.typ";
|
||||
typstOutput = "out/main.pdf";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue