about summary refs log tree commit diff
path: root/ops/terraform
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-06-10T07·58+0300
committerflokli <flokli@flokli.de>2024-06-10T12·03+0000
commitd3bc358bbc41b8913eb3ffebe93d33cfe5fc11b1 (patch)
tree8b1e5fb4cdbce45d3d0fb54d8b69d89b84d194cc /ops/terraform
parent179a4e36d7419394494a19a5f005b0ff4a1dffe9 (diff)
docs(tvix/docs/TODO): document crate2nix for WASM attempts r/8239
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
Diffstat (limited to 'ops/terraform')
0 files changed, 0 insertions, 0 deletions