Commit graph typst-nix/src
Author SHA1 Message Date
905ec619ae fix: typos, minor rewording 2026-10-21 15:20:54 +01:00
774591116e prefix /nix/store -> /nix/store/ 2026-10-21 15:02:01 +01:00
83c684c796 ????? 2026-10-21 15:01:24 +01:00
cad941d0fa check auto-detected nix binary to be a regular file 2026-10-21 15:00:17 +01:00
97e5c264be remove stray dbg! from test code 2026-10-21 14:57:23 +01:00
5323b6615f fix: WebRegistry::new doc 2026-10-21 14:52:11 +01:00
c379391fe7 ack the behavior on a package traversal failure 2026-10-21 14:49:34 +01:00
89d7ba240b minor fixups + add check of simple example 2026-10-21 13:48:35 +01:00
cf66bbe656 ench: INFO log by default 2026-10-21 10:52:43 +01:00
881ca2d2bb ench: write a trailing newline into the lock 2026-10-21 10:52:33 +01:00
f02a877199 fix: package spec MUST have a patch version number 2026-10-21 10:39:36 +01:00
ea13f10b5d fix: deserialize package spec as Box<str> 2026-10-21 10:39:03 +01:00
36af44c839 fixup tests (rel: PackageSpec) 2026-10-21 10:27:27 +01:00
f60dae5625 add transitive resolution test 2026-10-21 10:26:16 +01:00
98d5c6eb43 add mock resolver tests 2026-10-21 10:25:55 +01:00
eb4c5e7aff use upstream package spec 2026-10-21 10:23:43 +01:00
f274ef8bdf add web registry tests 2026-10-21 09:33:33 +01:00
2abe3d43ad add package scan tests 2026-10-21 09:29:57 +01:00
d15a97f001 encode "debug-only" path in the type system 2026-10-21 09:24:19 +01:00
601dd97f24 add lockfile tests 2026-10-21 08:56:47 +01:00
69fe160c38 lockfile: fix the double write 2026-10-20 21:50:56 +01:00
1912154102 refactored resolver/spec 2026-10-20 21:47:31 +01:00
5718b3f7cf lockfile: separate io from the filesystem 2026-10-20 21:44:43 +01:00
e4c65f8769 remove empty tests module 2026-10-20 21:32:01 +01:00
58e365e462 add source scan tests 2026-10-20 21:30:48 +01:00
e1e9516af6 factored out url fetching 2026-10-20 18:18:15 +01:00
0e2df829f6 add once_queue tests 2026-10-20 17:59:15 +01:00
48aa8a11f6 consistently required nix-prefetch-url path 2026-10-20 17:29:37 +01:00
13a344df7e fix: package version included : 2026-10-20 17:26:14 +01:00
902cd565f3 refactor file queue to use its own strategy 2026-10-20 17:24:56 +01:00
8d27fb48e6 extract "once queue" into module 2026-10-20 17:19:14 +01:00
a52a9c2a47 refactor nix-prefetch-url finding
- make an isolated function for it in `crate::resolver`
- add a mandatory `nix-prefetch-url` to the mock resolver

todo: factor out the binary resolution completely, demand the path
  unconditionally.
2026-10-20 16:31:47 +01:00
06e0bf8522 fix: dynamic --unpack of nix-prefetch-url 2026-10-20 16:28:01 +01:00
040c5c2907 change println to trace in main 2026-10-20 16:19:11 +01:00
79654b5364 split the CLI into lib+bin 2026-10-20 16:16:46 +01:00
abd03dd657 fix: canonicalize the entrypoint, before looping 2026-10-20 02:33:14 +01:00
7be57fef26 fix: ignore empty imports 2026-10-20 02:31:50 +01:00
04ca1348c1 fix: relative import bug 2026-10-20 02:30:03 +01:00
8d962fbed0 fix: fsync the tmpfile to disk 2026-10-20 02:26:15 +01:00
d71840f987 fix: support package root imports 2026-10-20 02:19:26 +01:00
6eb1d91ac5 fix: make the lockfile update atomic 2026-10-20 02:06:27 +01:00
e521b4071b fix: compilcation after the Text->Str swap 2026-10-20 02:01:46 +01:00
bddb03d617 fix typos 2026-10-20 02:01:26 +01:00
bf83d98ce5 fix: executability check for nix-prefetch-url 2026-10-20 01:57:05 +01:00
f8653f1039 fix: canonicalize package-local paths 2026-10-20 01:52:21 +01:00
10bdb8ff0a fix: resolve imports relative to the import stmt 2026-10-20 01:46:15 +01:00
dd14599e6e fix: add popped set to the package queue 2026-10-20 01:43:03 +01:00
d867f53bc3 fix: use the custom nix-prefetch-url path 2026-10-20 01:39:57 +01:00
805bf2cbf9 fix: do not serde(flatten) PackageSpec
was reimplemented to be serialized as a string
2026-10-20 01:37:11 +01:00
ed55129529 fix: use the correct Expr for a literal string 2026-10-20 01:36:28 +01:00