tvl-depot/tvix/docs
Florian Klink d3bc358bbc docs(tvix/docs/TODO): document crate2nix for WASM attempts
I tried moving web/tvixbolt to tvix/tvixbolt, and adding it to the cargo
workspace.

I then made `crates =` in `default.nix` a function accepting `pkgs`
(so we can pass in another nixpkgs for some invocations), and then
constructed another nixpkgs and crates instance like this:

```
  pkgs-wasm = (import pkgs.path {
    localSystem = localSystem;
    crossSystem = {
      system = localSystem;
      rustc.config = "wasm32-unknown-unknown";
    };
  }
  crates-wasm = (crates pkgs-wasm);
  tvixbolt-test = crates-wasm.workspaceMembers.tvixbolt.build;
```

… leading to the architecture build failures described in the TODO.

Change-Id: I32112d75f8c098d9810ca52b2d07cd76fae8d8d7
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11777
Reviewed-by: flokli <flokli@flokli.de>
Reviewed-by: Ilan Joselevich <personal@ilanjoselevich.com>
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
2024-06-10 12:03:26 +00:00
..
src docs(tvix/docs/TODO): document crate2nix for WASM attempts 2024-06-10 12:03:26 +00:00
theme feat(tvix/docs): ship custom highlight.js with Nix support 2024-03-03 16:53:16 +00:00
.gitignore feat(tvix/docs): switch to mdbook 2024-03-03 16:52:38 +00:00
book.toml feat(tvix/docs): switch to mdbook 2024-03-03 16:52:38 +00:00
default.nix feat(tvix/docs): switch to mdbook 2024-03-03 16:52:38 +00:00