!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

656 Members
Rust148 Servers

Load older messages


SenderMessageTime
3 Jan 2026
@logn:zirco.devLogan Devine joined the room.20:42:17
@epiceric:nixos.devEpic Eric changed their display name from Eric Rodrigues Pires to Eric Pires.22:30:15
4 Jan 2026
@sybearly:matrix.orgSyBearly joined the room.09:31:32
@aleksana:mozilla.orgFind 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
@aleksana:mozilla.orgFind 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:matrix.orgTheo 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:matrix.orgTheo 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:matrix.orgTheo 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:synod.imuser262728 joined the room.03:20:45
@theo-paris:matrix.orgTheo ParisAlternatively I could use rustup but I'd like to get nixpkgs cross working03:21:11
@theo-paris:matrix.orgTheo Paris* Alternatively I could use rustup but I'd like to get nixpkgs cross compilation working03:21:25
@goodtab:matrix.orggoodtab joined the room.08:22:22
@frederic:scs.ems.hostFrédéric Christ changed their display name from Frédéric Christ (back on 02.01.) to Frédéric Christ.09:38:37
@epiceric:nixos.devEpic Eric changed their display name from Eric Pires to Epic Eric.09:39:12
@niklaskorz:matrix.orgniklaskorzwe have the wasm targets as part of the normal rust toolchain, so you don't necessarily need pkgsCross12:20:01
@niklaskorz:matrix.orgniklaskorzi.e. you can target wasm32-unknown-none from any system's pkgs.rustc12:20:15
@robin:icewind.nl@robin:icewind.nl left the room.14:12:04
6 Jan 2026
@eyduh:matrix.orgeyduh (she/they) changed their profile picture.18:20:52
@eyduh:matrix.orgeyduh (she/they) changed their profile picture.18:25:31
7 Jan 2026
@accelbread:matrix.orgaccelbread joined the room.04:26:13
@accelbread:matrix.orgaccelbreadDoes anybody know how to get miri with nixpkgs rustc? do I just override configureFlags?04:27:11
@epiceric:nixos.devEpic EricRedacted or Malformed Event10:33:54
@epiceric:nixos.devEpic EricMaybe via pkgs.rustup? cargo-miri seems to be part of it10:50:58
@accelbread:matrix.orgaccelbreaddidn't want to use rustup, though I got it working with some messy buildRustPackage10:51:35
@epiceric:nixos.devEpic EricIt might be worth making a Nix package for it10:52:33
@accelbread:matrix.orgaccelbreadThat 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 it10:55:53
@accelbread:matrix.orgaccelbreadhmm actually might be simpler to use rustc.src's vendor dir if that has everything miri/cargo-miri needs...11:06:52
@emilazy:matrix.orgemilydoesn't Miri require nightly?14:46:48
@emilazy:matrix.orgemilyhave you considered rust-overlay?14:47:26
@emilazy:matrix.orgemilyyou can get the Nightly binaries packaged in Nix that way14:47:40

There are no newer messages yet.


Back to Room ListRoom Version: 6