!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

674 Members
Rust155 Servers

Load older messages


SenderMessageTime
15 Apr 2026
@winter:catgirl.cloudWinteri can take a peek later today00:12:46
@esperlily:matrix.orgEsperLily [she/her]https://github.com/NixOS/nixpkgs/pull/51016905:04:09
@98765abc:mozilla.org@98765abc:mozilla.org left the room.06:50:12
@voxel:quamquam.orgvoxel ⚡️ joined the room.19:20:37
16 Apr 2026
@esperlily:matrix.orgEsperLily [she/her] Alyssa Ross: regarding the above PR, since you complained about overrideAttrs I just dug into the reason why rustPlatform.rust.rustc is deprecated and it turns out you did that 2 years ago in https://github.com/NixOS/nixpkgs/pull/230951 and cited nativeBuildInputs = [ rustPlatform.rust.rustc ] misbehaving as the reason. I really think the right move here is to undeprecate rustPlatform.rust.{rustc,cargo} and just fix that original issue, which AFAICT is really just caused by the package being spliced but coming from the buildPackages set. It seems to me we can fix that by unsplicing the package? And I think this is the right move because it's pretty weird right now that a package using rustPlatform has no way to reference the rustc/cargo that are being used to build it, especially since we expose pkgs.makeRustPlatform so people can make their own custom rust platforms 04:11:55
@qyliss:fairydust.spaceAlyssa RossI think you're right. In the long term we should get rid of the non-composable buildRustPackage but that's harf.05:07:48
@qyliss:fairydust.spaceAlyssa Ross * 05:07:52
@esperlily:matrix.orgEsperLily [she/her]i updated the PR to do that05:21:32
@qyliss:fairydust.spaceAlyssa Rossthanks05:23:20
@esperlily:matrix.orgEsperLily [she/her] i suppose i should take this opportunity to add disallowedReferences to rustc-unwrapped too, as long as we have to rebuild all of the rust packages anyway 06:49:32
@eveeifyeve:matrix.orgeveeifyeve I will ask in here. Can someone when the relibc is merged into nixpkgs, when there is a rustc update can you ping the redox team please? Because we will need to check if that breaks relibc as a lot of C Api's get changed on unstable. An example of this was with 1.94 with VaListImpl being renamed to VaList. 22:20:22
@eveeifyeve:matrix.orgeveeifyeve * I will ask in here. Can someone when the relibc is merged into nixpkgs, when there is a rust update can you ping the redox team please? Because we will need to check if that breaks relibc as a lot of C Api's get changed on unstable. An example of this was with 1.94 with VaListImpl being renamed to VaList. 22:22:25
@eveeifyeve:matrix.orgeveeifyeve * I will ask in here. Can someone when the relibc is merged into nixpkgs, when there is a rust update can you ping the redox team please? Because we will need to check if that breaks relibc as a lot of C Api's get changed on unstable. An example of this was with 1.94 with VaListImpl being renamed to VaList due to it wanting to be C-Abi compatible. 22:24:23
@charles:computer.surgeryCharlesTbh I don't think putting relibc in nixpkgs is a good idea at this point because of its reliance on so many nightly features22:36:42
@charles:computer.surgeryCharlesRedox upstream is aware that relibc doesn't build on newer rustc versions and the recommendation I got is "just use an older rustc" which isn't really an option for nixpkgs aiui22:37:56
@charles:computer.surgeryCharlesI think nixpkgs probably has enough stuff in it to support doing Redox things with it out of tree, so that's probably best to do for the time being until the reliance on volatile nightly features goes away22:39:18
@charles:computer.surgeryCharles* I think nixpkgs probably has enough stuff in it to support doing Redox things with it out of tree, so it's probably best to just do that for the time being, until the reliance on volatile nightly features goes away22:39:53
@charles:computer.surgeryCharles
In reply to @charles:computer.surgery
Redox upstream is aware that relibc doesn't build on newer rustc versions and the recommendation I got is "just use an older rustc" which isn't really an option for nixpkgs aiui
I don't think complaining at them every time a new rustc version breaks their build will accomplish anything other than being obnoxious; this is expected behavior with nightly rust
22:41:08
@eveeifyeve:matrix.orgeveeifyeveI am working on fixing that currently. 23:29:48
@eveeifyeve:matrix.orgeveeifyeveNo not every version, but if it breaks relibc to let us know.23:30:17
@eveeifyeve:matrix.orgeveeifyeve* No not every version, but if it breaks relibc to let us know. Because it's important for the build support for redox.23:30:52
@eveeifyeve:matrix.orgeveeifyeveSince it's required at a very early step.23:32:41
@eveeifyeve:matrix.orgeveeifyeve* Since it's required at a very early step when building redox.23:32:58
@eveeifyeve:matrix.orgeveeifyeve* Since it's required at a very early step when building redox packages.23:33:06
@charles:computer.surgeryCharlesi think you misread what i wrote23:33:07
@eveeifyeve:matrix.orgeveeifyevehttps://gitlab.redox-os.org/eveeifyeve/relibc/-/commits/fix-relibc-for-1-94?ref_type=heads23:36:13
@eveeifyeve:matrix.orgeveeifyeve* https://gitlab.redox-os.org/eveeifyeve/relibc/-/commits/fix-relibc-for-1-9423:36:18
17 Apr 2026
@logn:zirco.devLogN changed their display name from LogN [unavailable @ CinemaCon -> 4/18] to LogN.01:23:38
@eveeifyeve:matrix.orgeveeifyeveIt works again!! I made an upstream pr to fix it: https://gitlab.redox-os.org/redox-os/relibc/-/merge_requests/1204 however they need to update their toolchain first.01:35:09
@eveeifyeve:matrix.orgeveeifyeve* It works again!! I made an upstream pr to fix it: https://gitlab.redox-os.org/redox-os/relibc/-/merge_requests/1204 however they need to update their custom toolchain first.02:12:12

Show newer messages


Back to Room ListRoom Version: 6