Nix Rust | 672 Members | |
| Rust | 152 Servers |
| Sender | Message | Time |
|---|---|---|
| 1 Nov 2025 | ||
| fun fact - mozilla dude had to compile 21 himself because they apparently don't release builds of 21 for macos yet? | 17:18:53 | |
| I thought they switched to 20 already. | 17:20:39 | |
| but are they on an old Rust then? because I'd be surprised if latest Rust supports LLVM 19 | 17:20:51 | |
| https://bugzilla.mozilla.org/show_bug.cgi?id=1923255 | 17:23:02 | |
| fyi, this is the function: https://searchfox.org/firefox-main/source/image/encoders/png/nsPNGEncoder.cpp#718. I am wondering if something dodgy is going on with alignment here. (perhaps → #mozilla:nixos.org) | 17:23:39 | |
| their rust policy: https://github.com/mozilla-firefox/firefox/blob/main/docs/writing-rust-code/update-policy.md | 17:26:08 | |
| Firefox 143 Rust 1.86.0 1.82.0 Firefox 144 Rust 1.89.0 ? | 17:27:08 | |
| bisect for llvm would be 15 steps if all goes well (I don't know how often I'd need to skip in the process) | 17:35:44 | |
| between our 20.x package tag and our 21.x package tag I assume? | 17:51:15 | |
| yes. | 17:52:36 | |
| 22:53:12 | ||
| 22:54:12 | ||
| 2 Nov 2025 | ||
| 01:27:51 | ||
| 12:05:00 | ||
| 17:58:07 | ||
| 22:29:53 | ||
| 3 Nov 2025 | ||
| 10:14:55 | ||
| is there a declarative alternative to cargo install? | 10:15:23 | |
In reply to @crop_tech:matrix.org write a recipe with except it's not an alternative, it's a Nixpkgs builder exactly for Cargo | 10:21:31 | |
| i am trying to build rustfilt with this:
but the problem is that the package doesn't contain a cargo lock file | 11:26:41 | |
| i tried to use the src from github but i now run into this problem: https://github.com/NixOS/nixpkgs/issues/392872 | 12:41:11 | |
| ok solved by switching to master and not use the taged version | 12:49:36 | |
In reply to @crop_tech:matrix.orgfetch the crate (or clone the repo), generate the lockfile ( cargo generate-lockfile), put the lockfile in your nix config and change cargo* attrs to cargoLock.lockFile = ./Cargo.lock; | 13:06:25 | |
Why does rustc build for me but fenix not? | 15:35:46 | |
| Here the flake: | 15:36:16 | |
| Download flake.nix | 15:36:16 | |
| What brakes me is that the shell isnt working but the package does? | 15:37:21 | |
Here the error: | 15:37:45 | |
| Huh? what why? | 15:38:58 | |
| Why it starting a non linked but linked bin, from the nix store? | 15:39:27 | |