File tree 1 file changed +6
-5
lines changed
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 37
37
# [Optional] The name of the derivation
38
38
# Default: ${pname}-${version}
39
39
name = "example" ;
40
- # Source directory
40
+ # Source directory to copy to the store.
41
41
src = ./. ;
42
42
# [Optional] The entry-point to the document, default is "main.typ"
43
43
# This is relative to the directory input above.
44
44
# Default: "main.typ"
45
45
file = "main.typ" ;
46
46
# [Optional] Whether to pull in Typst Universe or not (it is large!)
47
47
# Default: true
48
+ # If used in a flake this won't effect whether Typst Universe is copied
49
+ # to the store or not. It will effect whether it is symlinked to the
50
+ # rest of the dependencies though.
48
51
universe = true ;
49
52
# [Optional] Any non-universe packages. The attribute key is the namespace.
50
53
# The package must have a typst.toml file in its root.
54
57
} ;
55
58
# [Optional] The format to output
56
59
# Default: "pdf"
60
+ # Can be either "pdf" or "html"
57
61
format = "pdf" ;
58
62
# [Optional] The fonts to include in the build environment
59
63
# Note that they must follow the standard of nixpkgs placing fonts
62
66
fonts = [
63
67
pkgs . roboto
64
68
] ;
65
- # [Optional] Patches to the Typst document
66
- # Default: []
67
- typstPatches = [ ] ;
68
69
# [Optional] Patches to the Typst Universe repo
69
70
# To apply a patch, it much be a patch to the entire Typst Packages repo.
70
71
# Default: []
71
- univerPatches = [ ] ;
72
+ universePatches = [ ] ;
72
73
} ;
73
74
74
75
devShells . ${ system } . default = pkgs . mkShell {
You can’t perform that action at this time.
0 commit comments