!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

712 Members
Rust163 Servers

Load older messages


SenderMessageTime
18 Apr 2026
@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
@loopunit:matrix.orgloopunit joined the room.09:58:07
@loopunit:matrix.orgloopunit
In reply to @9hp71n:matrix.org
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)
I'm also hitting this issue
10:04:06
@qyliss:fairydust.spaceAlyssa Rossshould be an easy fix to set an explicit user-agent10:05:52
@hexa:lossy.networkhexathis is a common courtesy as a big consumer10:13:22
@9hp71n:matrix.orgghpzin But that would be staging level rebuild, recent PRs touching fetch-cargo-vendor-util.py had ~28k rebuild count. 10:13:46
@k900:0upti.meK900Yeah10:16:37
@k900:0upti.meK900But we should still do it10:16:41
@k900:0upti.meK900Because it's the right thing to do10:16:45
@hexa:lossy.networkhexathe alternative is to write to help@crates.io then10:16:50
@rasmata:matrix.org@rasmata:matrix.org joined the room.10:19:07
@rasmata:matrix.org@rasmata:matrix.org left the room.10:19:11
@hexa:lossy.networkhexaRedacted or Malformed Event10:28:11
@emilazy:matrix.orgemilythey're FODs, we should be able to avoid causing rebuilds?11:21:06

Show newer messages


Back to Room ListRoom Version: 6