Nix Rust | 638 Members | |
| Rust | 146 Servers |
| Sender | Message | Time |
|---|---|---|
| 1 Nov 2025 | ||
| 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 | |
| Why does it work with rustc but not with fenix? | 16:05:10 | |
| Where does rustc change stuff? | 16:05:26 | |
How do I manage binaries from crates.io with nix? like, stuff I'd usually install by running cargo install cargo-make | 16:51:26 | |
| if it matters, I'm currently using fenix for my Rust toolchain | 16:53:28 | |
also, was cargo-make removed from nixpkgs? I have an old project that pulls it from nixpkgs just fine, but it doesn't appear to exist there anymore | 16:58:16 | |
* also, was cargo-make removed from nixpkgs? I have an old project that pulls it from nixpkgs (24) just fine, but it doesn't appear to exist there anymore | 16:58:27 | |
| well ideally they'd be packaged in nixpkgs, so just an install like any other | 16:58:32 | |
* also, was cargo-make removed from nixpkgs? I have an old project that pulls it from nixpkgs (24.05) just fine, but it doesn't appear to exist there anymore | 16:58:34 | |