!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

675 Members
Rust155 Servers

Load older messages


SenderMessageTime
17 Apr 2026
@whispers:catgirl.cloudwhispers [& it/fae]i suspect a lot of it (e.g. this case of library loading) is mostly down to the fact that it's a lot of work to get right and so it was never implemented, but the effects are the same22:48:28
@whispers:catgirl.cloudwhispers [& it/fae] * 22:48:56
@whispers:catgirl.cloudwhispers [& it/fae] * 22:49:33
@figsoda:matrix.orgfigsoda something like system-deps built into cargo would definitely be interesting to see 22:58:21
@gsaurel:laas.frnim65sdo you think a bazel(-ish) layer would help ?23:06:06
@emilazy:matrix.orgemilyunsandboxed proc macros were also a mistake :)23:25:05
@emilazy:matrix.orgemily but tbh cc crate is a worse offender than anything pkg-config-related 23:25:17
@figsoda:matrix.orgfigsodaagreed23:31:47
18 Apr 2026
@tumble1999:matrix.orgTumbleare you supposed to put Cago.lock in gitignore?15:15:49
@tumble1999:matrix.orgTumble 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
@tumble1999:matrix.orgTumble* are you supposed to put Cargo.lock in gitignore?15:16:16
@k900:0upti.meK900Generally no15:16:23
@k900:0upti.meK900Also holy shit is that overengineered15:17:33
@tumble1999:matrix.orgTumblewhy are most of the things i decide to compile myself, aways have a weird build setup15:18:15
@tumble1999:matrix.orgTumblewill i have to generate the lock file seperatly and then slide it into the build proces15:20:46
@k900:0upti.meK900I mean I would recommend not running that thing at all15:21:44
@k900:0upti.meK900But that's probably not the answer you're looking for15:21:52
@k900:0upti.meK900But there are definitely better ways to do whatever the fuck that's doing15:22:02
@tumble1999:matrix.orgTumblei could do that if there were other projects that do the same thing perhaps15:23:57
@k900:0upti.meK900https://github.com/luisbocanegra/plasma-smart-video-wallpaper-reborn15:24:34
19 Apr 2026
@ralith:ralith.comRalithI think something bazel-ish is absolutely necessarily the way forwards in the long run, leaning a bit more heavily into hermeticity and hopefully decrufted03:41:51
@ralith:ralith.comRalithI hoped buck2 would be this but meta dgaf about external users03:42:13
@ralith:ralith.comRalithfingers crossed for https://vixen.rs/03:42:19
@ralith:ralith.comRalithin 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
@ralith:ralith.comRalith

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
@screaming:lobotomise.meaphasic
In reply to @tumble1999:matrix.org
i could do that if there were other projects that do the same thing perhaps
considering it leans on other programs for everything except kde compatibility im near certain there are
04:43:03
@soispha:vhack.euBenediktIs it realistic that nixos will switch too a package per crate model like guix did?10:06:16
@k900:0upti.meK900It's been proposed before but it requires a huge amount of work10:16:00
20 Apr 2026
@bivsk:matrix.orgFour changed their display name from bivsk to Four.14:16:31
23 Apr 2026
@9hp71n:matrix.orgghpzin 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):
curl -v https://crates.io/api/v1/crates/aho-corasick/1.1.4/download -L -A "python-requests/2.33.1"
< HTTP/2 403
...
{"errors":[{"detail":"We are unable to process your request at this time. This usually means that you are in violation of our API data access policy (https://crates.io/data-access). Please email help@crates.io and provide the request id ..."}]}
(some context https://matrix.to/#/!6oudZq5zJjAyrxL2uY:0upti.me/$Q25UIZLIjieJpO52C6VkOPoUYRBqtuEEN2QI4uUBIrM?via=nixos.org&via=matrix.org&via=node.marinchik.ink)
09:37:02

Show newer messages


Back to Room ListRoom Version: 6