!rGlCMuXgAhgEpdvJUz:nixos.org

NixOS KDE

191 Members
55 Servers

Load older messages


SenderMessageTime
21 Aug 2025
@emilazy:matrix.orgemilywell I am way too tired to do it20:46:28
@emilazy:matrix.orgemily but we should probably land a disabledTests one-liner 20:46:40
@emilazy:matrix.orgemily since we're like a month behind on staging 20:46:51
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)https://github.com/NixOS/nixpkgs/pull/430298#issuecomment-3212031540 uh oh20:50:41
@emilazy:matrix.orgemilyanyone remember when20:52:41
@k900:0upti.meK900Yes20:52:49
@emilazy:matrix.orgemilywho remembers this nostalgic moment? only 90s kids know20:52:53
@k900:0upti.meK900On it20:52:58
@emilazy:matrix.orgemilyimage.png
Download image.png
20:53:41
@emilazy:matrix.orgemily(I wish we had good eval testing for NixOS modules)20:53:57
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all) its hard 20:54:17
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)how would you test all permutations of options to make sure eval is fine? You basically can't20:54:35
@emilazy:matrix.orgemilyI would simply solve it20:58:41
@emilazy:matrix.orgemilytbh the module system already defers a lot of that stuff in a way that makes it easier to cross-check20:59:09
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)sure, but how? Quantum computer evaluating all possible nix configs at once? 😆20:59:25
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)i mean, some simple heuristics would already help, like test rebuilds and seeing whether test configs still eval21:00:07
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)but a complete eval test as we have for packages is imo impossible21:00:26
@emilazy:matrix.orgemily I mean if you have mkIf x y 21:02:28
@emilazy:matrix.orgemily then y gets included in the intermediate results 21:02:34
@emilazy:matrix.orgemilyit is more structured than completely raw language conditionals, you can see more branches at once21:02:55
@emilazy:matrix.orgemilyanyway, we don't need to test every combination, we don't for packages either21:03:10
@emilazy:matrix.orgemilyit's just NixOS tests are expensive for spot-checking21:03:18
@emilazy:matrix.orgemily(I bet we could do a model checker thing for complete coverage. a thing that is famously not expensive)21:03:41
@emilazy:matrix.orgemily K900: why do we need the Qt 5 thing 21:07:43
@emilazy:matrix.orgemilyI guess just because Qt 5?21:07:52
@k900:0upti.meK900Yes21:08:01
@k900:0upti.meK900I am cooking21:08:03
@k900:0upti.meK900Let me cook21:08:04
@emilazy:matrix.orgemily🍳21:08:13
@emilazy:matrix.orgemilydrop qt 5 when21:08:17

Show newer messages


Back to Room ListRoom Version: 9