!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

639 Members
Rust146 Servers

Load older messages


SenderMessageTime
8 Oct 2025
@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
@anders:sorby.xyzAndersSo the original build was a mess. Downlaoding tarballs from dropbox and more. But to be able to cross compile we need relibc to work. 20:32:24
@niklaskorz:matrix.orgniklaskorzI might be on board with experimenting a bit as I'm personally interested in Redox21:03:39
@anders:sorby.xyzAndersI tried to build relibc now, but it requires a lot of experimental rust features to build21:04:57
@anders:sorby.xyzAndersI wonder if the easiest way is to build relibc inside a redox vm 21:06:09
@niklaskorz:matrix.orgniklaskorz you mean -Z build-std=core,alloc,compiler_builtins? 21:07:10
@niklaskorz:matrix.orgniklaskorzbecause we support those without nightly on nixpkgs now, technically21:07:57
@anders:sorby.xyzAndersthings like #[target_feature(enable = "tbm")]21:08:14
@niklaskorz:matrix.orgniklaskorzhm target_feature shouldn't require nightly though?21:10:22

Show newer messages


Back to Room ListRoom Version: 6