!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

671 Members
Rust153 Servers

Load older messages


SenderMessageTime
7 Oct 2025
@updown:envs.netupdown joined the room.19:47:46
8 Oct 2025
@niklaskorz:matrix.orgniklaskorz Toma: finally got around to debugging the recent fetchCargoVendor issue in zed-editor 09:44:10
@niklaskorz:matrix.orgniklaskorz I'll proceed as suggested and wrap get_manifest_metadata in a try, to proceed with the next manifests in the iterator on failure 09:44:38
@niklaskorz:matrix.orgniklaskorz(unfortunately means zed-editor will be stuck on an old version for a bit as I missed the staging-next branchoff)09:45:04
@niklaskorz:matrix.orgniklaskorz

https://github.com/NixOS/nixpkgs/pull/449845

Rebuild: linux 26442, darwin 16179

insert "this little maneuver" meme

10:08:35
@niklaskorz:matrix.orgniklaskorzcurrently building zed-editor 0.206.7 to verify but the vendoring has already passed, so that part is good to go10:09:44
@leona:leona.isleona it could maybe make its way to staging-next now, as only a few hundred builds are finished yet. but that would require some coordination over in #staging:nixos.org 10:48:50
@leona:leona.isleonaI don't know how important this change is10:48:58
@k900:0upti.meK900I'd rather not10:50:43
@k900:0upti.meK900I kinda really don't like that change tbh10:51:24
@k900:0upti.meK900Like why are we even grabbing random manifests like that10:51:37
@k900:0upti.meK900Can we not either specify that or resolve the top of workspace correctly10:51:47
@niklaskorz:matrix.orgniklaskorz Happy to discuss alternatives, and I don't know about the original motivation for the glob, maybe @tomasajt:matrix.org can chime in on that 11:01:19
@niklaskorz:matrix.orgniklaskorz So far zed-editor seems to be the first and only package to be affected, so really not that important 11:14:38
@niklaskorz:matrix.orgniklaskorzI'll just have to deal with a couple of weeks of inquiries from unhappy Zed users, but that's ok 😄11:15:07
@niklaskorz:matrix.orgniklaskorzreplacing it with a topdown Path.walk + checking for existence of Cargo.toml now (so it automatically checks the topmost Cargo.toml first)13:17:44
@niklaskorz:matrix.orgniklaskorzOr well, I would, but I might have to deal with some kind of hardware failure right now13:35:09
@niklaskorz:matrix.orgniklaskorzoh wow, after some digging I suspect the source of the issue has never been the ordering (although strictly speaking, Path.glob does indeed not guarantee any order)...13:49:00
@niklaskorz:matrix.orgniklaskorzthe failing dependency in question, candle-book, is explicitly excluded by its workspace manifest but still specifies the edition to be inherited from the workspace (which is the source of the cargo metadata failure)13:49:40
@niklaskorz:matrix.orgniklaskorzmight not need a staging PR or fix in fetchCargoVendor after all then, checking if we can do with some patching here13:50:22
@niklaskorz:matrix.orgniklaskorzdoesn't look like it, as we currently have no way to sneak in patches between fetchcargovendor staging and final output14:14:22
@niklaskorz:matrix.orgniklaskorzso either way the try block is the only real immediate solution (short of the upstream crate fixing its mess)14:14:40
@anders:sorby.xyzAnders joined the room.16:36:56
@anders:sorby.xyzAndersAre anyone interested in integrating RedoxOS with NixOS? I see there has been some efforts to do this before, but it seems to be dormant now. But the Redox OS project seems very promising as a inovative, modern and secure system which would harmonize with nix too. https://gitlab.redox-os.org/redox-os/redox/-/issues/155216:54:36
@anders:sorby.xyzAnders* Is anyone interested in integrating RedoxOS with NixOS? I see there has been some efforts to do this before, but it seems to be dormant now. But the Redox OS project seems very promising as a inovative, modern and secure system which would harmonize with nix too. https://gitlab.redox-os.org/redox-os/redox/-/issues/155216:54:46
@anders:sorby.xyzAndershttps://github.com/nix-community/redoxpkgs16:55:35
@niklaskorz:matrix.orgniklaskorzAfaik the first step would be to bring back relibc16:55:47
@niklaskorz:matrix.orgniklaskorz @zmitchell:matrix.org looked into this but responded here why he stopped: https://bsky.app/profile/z-mitchell.bsky.social/post/3liahxpqjls2i 16:56:37
@andrewzah:matrix.abare.partyAndrew Zah joined the room.17:13:58
@anders:sorby.xyzAndersToo bad relibc was not maintained. https://github.com/NixOS/nixpkgs/blob/1598da9c7d99ba7a769393c04c3c44e8acf55d92/pkgs/top-level/aliases.nix#L231817:28:51

Show newer messages


Back to Room ListRoom Version: 6