Nix Rust | 698 Members | |
| Rust | 155 Servers |
| Sender | Message | Time |
|---|---|---|
| 5 Jan 2026 | ||
| i.e. you can target wasm32-unknown-none from any system's pkgs.rustc | 12:20:15 | |
| 14:12:04 | ||
| 6 Jan 2026 | ||
| 18:20:52 | ||
| 18:25:31 | ||
| 7 Jan 2026 | ||
| 04:26:13 | ||
| Does anybody know how to get miri with nixpkgs rustc? do I just override configureFlags? | 04:27:11 | |
| Redacted or Malformed Event | 10:33:54 | |
| Maybe via pkgs.rustup? cargo-miri seems to be part of it | 10:50:58 | |
| didn't want to use rustup, though I got it working with some messy buildRustPackage | 10:51:35 | |
| It might be worth making a Nix package for it | 10:52:33 | |
| 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 | |
| hmm actually might be simpler to use rustc.src's vendor dir if that has everything miri/cargo-miri needs... | 11:06:52 | |
| doesn't Miri require nightly? | 14:46:48 | |
| have you considered rust-overlay? | 14:47:26 | |
| you can get the Nightly binaries packaged in Nix that way | 14:47:40 | |
| yeah, those are binary builds though. And I don't want another flake dependency. I built it with nix rustc with RUSTC_BOOTSTRAP=1, to enable unstable features | 22:09:12 | |
| 8 Jan 2026 | ||
| Does anybody by some chance have a dev environment for working with godot-rust? | 00:23:31 | |
| Far from the best but at least I managed to do what I wanted to do with this dirty shell
| 02:00:01 | |
| 02:58:44 | ||
| For the record, this is my (somewhat) cleaner build derivation (still need to add Linux building and separate the build phase into two) | 12:43:23 | |
| I always forgot about the Nix Rust room! | 13:08:59 | |
| I posted this (https://gist.github.com/drupol/41bef4037d1d4c116f5ffa6df6493e28) in the main Nix room, but I guess I should have posted it here. | 13:09:20 | |
I'm trying to understand why overriding oldAttr.cargoDeps does not work. Can you help ? | 13:09:45 | |
| 16:55:35 | ||
| 23:50:14 | ||
| 9 Jan 2026 | ||
| 00:00:45 | ||
| I am trying to test the compilation of the Redox OS libc package (https://gist.github.com/theoparis/bbee869f1647e5c14a614d73ba9e6fd0) and I ran into an infinite recursion error that seems to be coming from inside of buildRustPackage. I guess no one has tried packaging a libc with it before... Is this something that I'm doing wrong or would it need to be fixed inside of the nixpkgs rust handling code? | 07:07:48 | |
| * I am trying to test the cross compilation of the Redox OS libc package (https://gist.github.com/theoparis/bbee869f1647e5c14a614d73ba9e6fd0) and I ran into an infinite recursion error that seems to be coming from inside of buildRustPackage. I guess no one has tried packaging a libc with it before... Is this something that I'm doing wrong or would it need to be fixed inside of the nixpkgs rust handling code? | 07:07:56 | |
| * I am trying to test the cross compilation of the Redox OS libc package (https://gist.github.com/theoparis/bbee869f1647e5c14a614d73ba9e6fd0) and I ran into an infinite recursion error that seems to be coming from inside of buildRustPackage. I guess no one has tried packaging a libc with it before... Is this something that I'm doing wrong or would it need to be fixed inside of the nixpkgs rust handling code somehow? | 07:08:21 | |
| 08:16:38 | ||