fix(web/tvl/2024-08-tvix-update): small fixes

The `Fetch` is an enum, not a struct, and "Type" probably makes more
sense here. Slightly reword the "generic" to not be confused with
generics.

Also fix the link to Tvixbolt, which got eaten by the line wrapping.

Change-Id: I677229f0365523620a640c2333e76790573f7318
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12174
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: Ilan Joselevich <personal@ilanjoselevich.com>
Tested-by: BuildkiteCI
This commit is contained in:
Florian Klink 2024-08-09 22:10:33 +03:00 committed by clbot
parent 8e13838451
commit 3ea69235a4

View file

@ -45,7 +45,7 @@ file from the internet, clone of a git repo). These needed to be implemented
for completeness. We implemented pretty much all downloads of Tarballs, NARs and for completeness. We implemented pretty much all downloads of Tarballs, NARs and
plain files, except git repositories, which are left for later. plain files, except git repositories, which are left for later.
Instead of doing these fetches immediately, we added a generic `Fetch` struct Instead of doing these fetches immediately, we added a generic `Fetch` type
that allows describing such fetches *before actually doing them*, similar to that allows describing such fetches *before actually doing them*, similar to
being able to describe builds, and use the same "Drive builds on IO" machinery being able to describe builds, and use the same "Drive builds on IO" machinery
to delay these fetches to the point where it's needed. We also show progress to delay these fetches to the point where it's needed. We also show progress
@ -53,7 +53,7 @@ bars when doing fetches.
Very early, during bootstrapping, nixpkgs relies on some `builtin:fetchurl` Very early, during bootstrapping, nixpkgs relies on some `builtin:fetchurl`
"fake" Derivation, which has some special handling logic in Nix. We implemented "fake" Derivation, which has some special handling logic in Nix. We implemented
these quirks, by converting it to our generic `Fetch` struct and dealing with these quirks, by converting it to instances of our `Fetch` type and dealing with
it there in a consistent fashion. it there in a consistent fashion.
### More fixes, Refscan ### More fixes, Refscan
@ -159,8 +159,8 @@ store backends as the rest of Tvix.
We landed some fixes in [crate2nix][crate2nix], the tool we're using to for We landed some fixes in [crate2nix][crate2nix], the tool we're using to for
per-crate incremental builds of Tvix. per-crate incremental builds of Tvix.
It now supports the corner cases needed to build WASM - so now [Tvixbolt] It now supports the corner cases needed to build WASM - so now
[tvixbolt] is built with it, too. [Tvixbolt][tvixbolt] is built with it, too.
We also fixed some bugs in how test directories are prepared, which unlocked We also fixed some bugs in how test directories are prepared, which unlocked
running some more tests for filesystem related builtins such as `readDir` in our test suite. running some more tests for filesystem related builtins such as `readDir` in our test suite.