| 3 Jan 2026 |
| Logan Devine joined the room. | 20:42:17 |
| Epic Eric changed their display name from Eric Rodrigues Pires to Eric Pires. | 22:30:15 |
| 4 Jan 2026 |
| SyBearly joined the room. | 09:31:32 |
| Find me at aleksana:qaq.li changed their display name from aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) to aleksana 🏳️⚧️ (deprecated). | 17:12:17 |
| Find me at aleksana:qaq.li changed their display name from aleksana 🏳️⚧️ (deprecated) to Find me at aleksana:qaq.li. | 17:14:12 |
| 5 Jan 2026 |
Theo Paris | Did something change with rust/compiler-rt? I can't seem to compile rust code to wasm32-unknown-unknown because nixpkgs marks compiler-rt as broken (with pkgsCross.wasm32-unknown-none.buildPackages.rustc) | 03:16:55 |
Theo Paris | * Did something change with rust/compiler-rt? I can't seem to compile rust code to wasm32-unknown-unknown because nixpkgs marks compiler-rt as broken (with pkgsCross.wasm32-unknown-none.buildPackages.rustc)
error: Package ‘compiler-rt-21.1.7’ in /nix/store/vpbmr42n194xx39sq40c41h943ayyhwm-source/pkgs/development/compilers/llvm/common/compiler-rt/default.nix:265 is not available on the requested hostPlatform:
| 03:17:38 |
Theo Paris | * Did something change with rust/compiler-rt? I can't seem to compile rust code to wasm32-unknown-unknown because nixpkgs marks compiler-rt as broken (with pkgsCross.wasm32-unknown-none.buildPackages.rustc)
error: Package ‘compiler-rt-21.1.7’ in /nix/store/vpbmr42n194xx39sq40c41h943ayyhwm-source/pkgs/development/compilers/llvm/common/compiler-rt/default.nix:265 is not available on the requested hostPlatform:
hostPlatform.system = "wasm32-none"
| 03:17:51 |
| user262728 joined the room. | 03:20:45 |
Theo Paris | Alternatively I could use rustup but I'd like to get nixpkgs cross working | 03:21:11 |
Theo Paris | * Alternatively I could use rustup but I'd like to get nixpkgs cross compilation working | 03:21:25 |
| goodtab joined the room. | 08:22:22 |
| Frédéric Christ changed their display name from Frédéric Christ (back on 02.01.) to Frédéric Christ. | 09:38:37 |
| Epic Eric changed their display name from Eric Pires to Epic Eric. | 09:39:12 |
niklaskorz | we have the wasm targets as part of the normal rust toolchain, so you don't necessarily need pkgsCross | 12:20:01 |
niklaskorz | i.e. you can target wasm32-unknown-none from any system's pkgs.rustc | 12:20:15 |
| @robin:icewind.nl left the room. | 14:12:04 |
| 6 Jan 2026 |
| eyduh (she/they) changed their profile picture. | 18:20:52 |
| eyduh (she/they) changed their profile picture. | 18:25:31 |
| 7 Jan 2026 |
| accelbread joined the room. | 04:26:13 |
accelbread | Does anybody know how to get miri with nixpkgs rustc? do I just override configureFlags? | 04:27:11 |
Epic Eric | Redacted or Malformed Event | 10:33:54 |
Epic Eric | Maybe via pkgs.rustup? cargo-miri seems to be part of it | 10:50:58 |
accelbread | didn't want to use rustup, though I got it working with some messy buildRustPackage | 10:51:35 |
Epic Eric | It might be worth making a Nix package for it | 10:52:33 |
accelbread | That would be useful, yeah
Though idk if what I ended up with would be usable in nixpkgs: https://codeberg.org/accelbread/basis-rs/commit/7a9c1b4fb9a269a2c0f819d892c932e93dd97250
install phase was broken with sourceRoot set since it expected to be in same dir as target though target got created at root of unpacked source, not sourceRoot. And cargoRoot didnt work; got some weird errors about incorrect hashes when using it | 10:55:53 |
accelbread | hmm actually might be simpler to use rustc.src's vendor dir if that has everything miri/cargo-miri needs... | 11:06:52 |
emily | doesn't Miri require nightly? | 14:46:48 |
emily | have you considered rust-overlay? | 14:47:26 |
emily | you can get the Nightly binaries packaged in Nix that way | 14:47:40 |