| 8 Apr 2026 |
aphasic | ime kdl is kind of a mess and maps horrendously from nix | 04:19:30 |
aphasic | not that there isn't code to do kdl->nix, there is, but you have to more or less manually serialise with it because their syntax and features are so disparate | 04:20:24 |
aphasic | * not that there isn't code to do nix->kdl, there is, but you have to more or less manually serialise with it because their syntax and features are so disparate | 04:20:40 |
Marien Zwart | If your audience is not nix users, a boring format like TOML is usually better (and if your audience is nix users maybe don't use kdl, I don't know exactly why but there's a home-manager module (for niri) stuck on essentially "the kdl generator is not good enough")) | 04:21:45 |
Marien Zwart | * If your audience is not nix users, a boring format like TOML is usually better (and if your audience is nix users maybe don't use kdl, I don't know exactly why but there's a home-manager module (for niri) stuck on essentially "the kdl generator is not good enough") | 04:22:09 |
Charles ⚡️ | In reply to @ralith:ralith.com is that alive again? last I heard the maintainer crashed out after setting up a harassment campaign against AI users I am not sure I agree with that description of events. But either way KDL has more than one person with the commit bit | 04:49:32 |
| 11 Apr 2026 |
| Linnie joined the room. | 08:44:15 |
Pol | Adding it to nixpkgs. | 18:33:40 |
Pol | * Adding it to nixpkgs. Edit: done at https://github.com/NixOS/nixpkgs/pull/509058, review welcome | 18:58:32 |
| 12 Apr 2026 |
| LogN joined the room. | 00:55:24 |
| leona changed their profile picture. | 12:15:30 |
| 13 Apr 2026 |
| Tanja (she/her) removed their profile picture. | 14:16:29 |
| 14 Apr 2026 |
| LogN changed their display name from LogN to LogN [unavailable @ CinemaCon -> 4/18]. | 04:02:40 |
| 15 Apr 2026 |
EsperLily [she/her] | i just noticed that my recent nixpkgs update (from 2026-01-23 to 2026-04-01) caused my system closure to start including cargo-bootstrap (which itself includes rustc-bootstrap). This seems rather surprising, that's an extra 623MiB added to the closure. Is this an issue folks are aware of? | 00:04:24 |
Winter | bleh. not to my knowledge. what depends on that, EsperLily [she/her]? | 00:08:11 |
EsperLily [she/her] | cargo does | 00:08:22 |
EsperLily [she/her] |  Download image.png | 00:08:51 |
Winter | not great | 00:09:03 |
EsperLily [she/her] | i don't have time right now to dig into this, but it seems like maybe cargo and rustc should use the appropriate disallowedWhatever attribute to ensure the bootstrap doesn't accidentally get into the closure | 00:09:50 |
EsperLily [she/her] | (rustc itself doesn't seem to have its own bootstrap at least, but the cargo-bootstrap includes the rustc-bootstrap) | 00:10:11 |
EsperLily [she/her] | this whole thing is in my runtime closure only because i have rustfmt in there (because of prettybat, which i never remember to even use) | 00:11:36 |
Winter | i can take a peek later today | 00:12:46 |
EsperLily [she/her] | https://github.com/NixOS/nixpkgs/pull/510169 | 05:04:09 |
| @98765abc:mozilla.org left the room. | 06:50:12 |
| voxel ⚡️ joined the room. | 19:20:37 |
| 16 Apr 2026 |
EsperLily [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 |
Alyssa Ross | I think you're right. In the long term we should get rid of the non-composable buildRustPackage but that's harf. | 05:07:48 |
Alyssa Ross | * | 05:07:52 |
EsperLily [she/her] | i updated the PR to do that | 05:21:32 |
Alyssa Ross | thanks | 05:23:20 |