Nix Rust | 714 Members | |
| Rust | 165 Servers |
| Sender | Message | Time |
|---|---|---|
| 17 Apr 2026 | ||
| agreed | 23:31:47 | |
| 18 Apr 2026 | ||
| are you supposed to put Cago.lock in gitignore? | 15:15:49 | |
| i was thinking of building this for myself https://github.com/waywallen/waywallen/blob/main/.gitignore but they gitignored the Cargo.lock file | 15:16:03 | |
| * are you supposed to put Cargo.lock in gitignore? | 15:16:16 | |
| Generally no | 15:16:23 | |
| Also holy shit is that overengineered | 15:17:33 | |
| why are most of the things i decide to compile myself, aways have a weird build setup | 15:18:15 | |
| will i have to generate the lock file seperatly and then slide it into the build proces | 15:20:46 | |
| I mean I would recommend not running that thing at all | 15:21:44 | |
| But that's probably not the answer you're looking for | 15:21:52 | |
| But there are definitely better ways to do whatever the fuck that's doing | 15:22:02 | |
| i could do that if there were other projects that do the same thing perhaps | 15:23:57 | |
| https://github.com/luisbocanegra/plasma-smart-video-wallpaper-reborn | 15:24:34 | |
| 19 Apr 2026 | ||
| I think something bazel-ish is absolutely necessarily the way forwards in the long run, leaning a bit more heavily into hermeticity and hopefully decrufted | 03:41:51 | |
| I hoped buck2 would be this but meta dgaf about external users | 03:42:13 | |
| fingers crossed for https://vixen.rs/ | 03:42:19 | |
| in the meantime if you need to actually get some work done, bazel is Fine if you take care. I think it's less idiosyncratic than, like, Nix, though a lot easier to shoot yourself in the foot with hermeticity-wise. | 03:46:49 | |
| I think this specifically is overstated. There's a lot of folks successfully using Rust without cargo. It's some extra work, but it's typically easier than packaging stuff for nixpkgs. The rust/cargo folks have done a good job of making this friendly to automation. Notably, it is much easier to port 99.9% of Rust crates to a new build system than to do the same for your average C/C++ project. | 03:53:35 | |
In reply to @tumble1999:matrix.orgconsidering it leans on other programs for everything except kde compatibility im near certain there are | 04:43:03 | |
| Is it realistic that nixos will switch too a package per crate model like guix did? | 10:06:16 | |
| It's been proposed before but it requires a huge amount of work | 10:16:00 | |
| 20 Apr 2026 | ||
| 14:16:31 | ||
| 23 Apr 2026 | ||
There might be a new problem with fetchCargoVendor - crates.io started blocking current python requests user-agent python-requests/2.33.1 that is used in fetch-cargo-vendor-util.py (because it does not set one explicitly in script):(some context https://matrix.to/#/!6oudZq5zJjAyrxL2uY:0upti.me/$Q25UIZLIjieJpO52C6VkOPoUYRBqtuEEN2QI4uUBIrM?via=nixos.org&via=matrix.org&via=node.marinchik.ink) | 09:37:02 | |
| 09:58:07 | ||
In reply to @9hp71n:matrix.orgI'm also hitting this issue | 10:04:06 | |
| should be an easy fix to set an explicit user-agent | 10:05:52 | |
| this is a common courtesy as a big consumer | 10:13:22 | |
But that would be staging level rebuild, recent PRs touching fetch-cargo-vendor-util.py had ~28k rebuild count. | 10:13:46 | |
| Yeah | 10:16:37 | |
| But we should still do it | 10:16:41 | |