| 20 Nov 2025 |
rosssmyth | You may be able to do something funny like setting the platforms to a wasi and require people to use pkgsCross.wasi32. But I have no idea what the state of compiling for wasi32 is or if that would work. Would be annoying for end-users though. | 21:41:41 |
Sandro 🐧 | mitmproxy-linux is cross compiling without anything extra to something wasm | 21:46:52 |
Sandro 🐧 | *ebpf not wasm | 21:49:53 |
Sandro 🐧 | your target is missing here https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/compilers/rust/rustc.nix#L158-L161 though | 21:50:09 |
Sandro 🐧 | maybe this hint https://github.com/NixOS/nixpkgs/blob/master/lib/systems/default.nix#L504 helps | 21:51:07 |
dotlambda | I would hope that adding something like pkgsCross.wasi32.buildPackages.rustc does the trick | 22:03:08 |
rosssmyth | Probably will, but that has the downside of instantiating a whole other nixpkgs | 22:03:38 |
dotlambda | pkgsCross.wasi32 is also used to build Firefox | 22:04:06 |
dotlambda | In reply to @robert:funklause.de I would hope that adding something like pkgsCross.wasi32.buildPackages.rustc does the trick Sadly, it fails to build with a complaint about missing a "wasi-root" key in bootstrap.toml | 22:09:51 |
| 21 Nov 2025 |
| Diogo Correia joined the room. | 09:01:19 |
| 29 Oct 2021 |
| @grahamc:nixos.org set the history visibility to "world_readable". | 19:57:43 |
| @grahamc:nixos.org changed the room name to "" from "". | 19:57:43 |
| @grahamc:nixos.org changed the room topic to "" from "". | 19:57:43 |
| Server Stats Discoverer (traveler bot) joined the room. | 19:58:21 |
| Matrix Traveler (bot) joined the room. | 19:59:14 |
| Ralith joined the room. | 20:00:28 |
| @grahamc:nixos.orgchanged room power levels. | 20:00:52 |
| @grahamc:nixos.org invited NixOS Moderation Bot. | 20:01:04 |
| NixOS Moderation Bot joined the room. | 20:01:05 |
| @grahamc:nixos.orgchanged room power levels. | 20:01:08 |
| Room Avatar Renderer. | 20:02:40 |
| hexa joined the room. | 20:04:36 |
| ash (it/its) 🏳️⚧️ joined the room. | 20:06:27 |
| Church joined the room. | 20:18:19 |
| figsoda joined the room. | 20:33:22 |
| Xe Iaso joined the room. | 20:59:23 |
| tomberek joined the room. | 21:02:26 |
| Church changed their display name from noah ⚡️ to Church. | 21:02:31 |
| [0x4A6F] joined the room. | 21:17:23 |
| andi- joined the room. | 22:37:38 |