Repository navigation
Commit 16f8a74
committed
fix(ci): provide tzdata to the coverage sandbox
The crane coverage build is hermetic and has no system zoneinfo database, so
jiff could not resolve named time zones (e.g. Asia/Tokyo) and fell back to UTC.
That shifted two timezone-dependent tests by a day and failed the build, even
though they pass in the dev shell where the runner's zoneinfo is present.
Set TZDIR to the nixpkgs tzdata so jiff resolves real offsets; referencing the
store path also pulls it into the sandbox as a build input.1 parent c921008 commit 16f8a74
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
46 | 52 | | |
47 | 53 | | |
48 | 54 | | |
| |||
0 commit comments