generated from me/nix-flake-template
Fix typst packaging for template
This commit is contained in:
parent
266e9096c5
commit
a15b401895
1 changed files with 7 additions and 6 deletions
13
flake.nix
13
flake.nix
|
|
@ -72,6 +72,12 @@
|
||||||
typst = {
|
typst = {
|
||||||
enable = true;
|
enable = true;
|
||||||
entrypoints.default = "main.typ";
|
entrypoints.default = "main.typ";
|
||||||
|
package = pkgs.typst.withPackages (
|
||||||
|
ps: with ps; [
|
||||||
|
cmarker
|
||||||
|
linguify
|
||||||
|
]
|
||||||
|
);
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
packages.default = pkgs.stdenvNoCC.mkDerivation (
|
packages.default = pkgs.stdenvNoCC.mkDerivation (
|
||||||
|
|
@ -94,13 +100,8 @@
|
||||||
);
|
);
|
||||||
devshells.default = {
|
devshells.default = {
|
||||||
packages = [
|
packages = [
|
||||||
|
config.languages.typst.package
|
||||||
pkgs.forgejo-cli
|
pkgs.forgejo-cli
|
||||||
(pkgs.typst.withPackages (
|
|
||||||
ps: with ps; [
|
|
||||||
cmarker
|
|
||||||
linguify
|
|
||||||
]
|
|
||||||
))
|
|
||||||
];
|
];
|
||||||
# reuse annotate -c "Ethan Reece <contact@ethanreece.com>" -l MIT -y 2025
|
# reuse annotate -c "Ethan Reece <contact@ethanreece.com>" -l MIT -y 2025
|
||||||
devshell = {
|
devshell = {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue