| 19 Feb 2026 |
emily | I'm not sure if lib.trivial.version even matches between the -next and master Hydra jobs, so there's a funny scenario where we still get a world rebuild on master… | 15:55:21 |
emily | * I'm not sure if lib.trivial.version even matches between the -next and master Hydra jobsets, so there's a funny scenario where we still get a world rebuild on master… | 15:55:31 |
emily | (but worst case we can just hardcode "26.11pre-git" for now) | 15:55:33 |
vcunat | It fixed nixosTests.containers-imperative apparently. | 16:03:48 |
vcunat | So maybe it's all fine now. | 16:03:55 |
vcunat | (I've fixed rsyslog build in the meantime.) | 16:04:04 |
vcunat | * So maybe it's all fine now, at least after we merge that PR. | 16:04:35 |
K900 | FYI: https://github.com/NixOS/nixpkgs/pull/492157 | 16:16:37 |
K900 | Will merge once I'm sure it's 0 rebuilds | 16:16:48 |
K900 | Also libphonenumber is busted with boost 1.89 | 16:19:00 |
K900 | But 1.88 works | 16:19:02 |
K900 | Will pin unless anyone wants to dig into it | 16:19:07 |
emily | is there actually a formal distinction between dynamic attributes in rec and any use of with, btw? (not that I wouldn't be happy to see both rec and with purged from the language) | 16:22:28 |
K900 | Formal, no | 16:23:22 |
K900 | But it gets REALLY funny with rec | 16:23:32 |
emily | rec { ${if cond then "ambiguous" else null} = …; test = ambiguous; }.test seems indistinguishable from with { ${if cond then "ambiguous" else null} = … }; ambiguous | 16:23:43 |
emily | hmm, except the former always complains about ambiguous not being bound | 16:26:17 |
emily | which, yeah exposes ${"ambiguous"} being treated specially | 16:26:34 |
emily | since rec { ${"ambiguous"} = 123; test = ambiguous; }.test does work | 16:26:56 |
K900 | Yes, try ${"a" + "mbiguous"} | 16:27:10 |
emily | arguably rec with conditional attributes should let you refer to them and just turn off scope checking like with does 🙃 | 16:27:15 |
K900 | To bypass that optimization | 16:27:14 |
emily | right, in which case it just complains that ambiguous is unbound | 16:28:15 |
emily | so yeah, rec is weird in a way that with isn't | 16:28:26 |
emily | well, or with is weird in a different way at least | 16:28:33 |
emily | "we have rec at home":
nix-repl> let self = with self; { ${if true then "ambiguous" else null} = 123; test = ambiguous; }; in self.test
123
| 16:28:49 |
K900 | Pinned | 16:35:23 |
| mana-byte changed their display name from Manaiki to mana-byte. | 16:36:27 |
tom | late to the party but there's https://github.com/google/libphonenumber/pull/3903, should we vendor that instead? happy to make a PR | 17:50:00 |
| tom set a profile picture. | 20:44:23 |