!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

675 Members
Rust155 Servers

Load older messages


SenderMessageTime
19 Apr 2026
@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
@emilazy:matrix.orgemily cc @tomasajt:matrix.org 11:21:15
@winter:catgirl.cloudWinterthat file is also used during builds11:23:06
@winter:catgirl.cloudWinterto create the final vendor directory11:23:13
@winter:catgirl.cloudWinterit’s not solely the fetcher11:23:25
@emilazy:matrix.orgemilywe could make a copy for now then11:33:58
@emilazy:matrix.orgemily(perhaps we should split up FOD and non-FOD portions of it more)11:34:16
24 Apr 2026
@drupol:matrix.orgPolThere's a PR already12:52:32
@drupol:matrix.orgPol=> https://github.com/NixOS/nixpkgs/pull/51273512:53:02
@niklaskorz:matrix.orgniklaskorzthe crates.io team has also responded to the issue yesterday and reverted the block for now, until we fixed it in nixpkgs13:03:42

There are no newer messages yet.


Back to Room ListRoom Version: 6