| 16 Jan 2024 |
colemickens | K900 ⚡️: second time this has come up and I've gotten pinged, so I assume you've probably answered it a lot. Is there a reason this is happening more now than in past bumps? An issue I can follow or something. | 20:09:30 |
K900 ⚡️ | Mesa started hard crashing on version mismatches | 20:10:03 |
K900 ⚡️ | Instead of warning and trying to continue | 20:10:18 |
K900 ⚡️ | Which | 20:10:24 |
K900 ⚡️ | Well it usually ended up crashing | 20:10:37 |
K900 ⚡️ | But sometimes it didn't | 20:10:47 |
colemickens | Sure would've been nice if it tried harder to alert folks as to what's happening. | 20:12:53 |
colemickens | Maybe it does and it's just not really able to, but it sure feels like it should have a shot at spamming some useful message to stderr | 20:13:15 |
K900 ⚡️ | It does | 20:17:16 |
K900 ⚡️ | It's just that in the case of firefox it's the stderr of some helper proces | 20:17:30 |
K900 ⚡️ | * It's just that in the case of firefox it's the stderr of some helper process | 20:17:31 |
K900 ⚡️ | That you never see | 20:17:34 |
| 19 Jan 2024 |
| hopland (nixpkgs-rolling when) changed their display name from hopland (meticulous montesquieu) to hopland (manners or stfu). | 05:11:59 |
| hopland (nixpkgs-rolling when) changed their display name from hopland (manners or stfu) to hopland. | 05:14:37 |
| 21 Jan 2024 |
hexa | https://github.com/NixOS/nixpkgs/pull/269817/files | 19:07:54 |
hexa | why is a let required here? | 19:08:16 |
K900 ⚡️ | I think it's because ? can use other argument values | 19:13:36 |
K900 ⚡️ | So a ? a is just instant infrec | 19:13:58 |
hexa | why can't they access the variables from the outer function scope? | 19:14:49 |
hexa | * why can't they access the variables from the outer function arguments? | 19:14:55 |
K900 ⚡️ | They can, but the other arguments in the pattern are bound closer | 19:15:15 |
K900 ⚡️ | Because Nix is stupid | 19:15:19 |
K900 ⚡️ | nix-repl> fn = let a = 1; in { a ? a }: a
nix-repl> fn {}
error:
… from call site
at «string»:1:1:
1| fn {}
| ^
… while calling anonymous lambda
at «string»:1:16:
1| let a = 1; in { a ? a }: a
| ^
error: infinite recursion encountered
at «string»:1:22:
1| let a = 1; in { a ? a }: a
|
| 19:16:47 |
K900 ⚡️ | ` nix-repl> fn = let a = 1; b = 1; in { a, b ? a }: b
nix-repl> fn { a = 5; } 5
` is the more normal use case of this | 19:17:44 |
K900 ⚡️ | nix-repl> fn = let a = 1; b = 1; in { a, b ? a }: b
nix-repl> fn { a = 5; }
5
is the more normal use case of this | 19:17:48 |
| @autiboy:matrix.org left the room. | 23:09:18 |
| 22 Jan 2024 |
| hopland (nixpkgs-rolling when) changed their display name from hopland to IdeallyYes. | 15:05:58 |
| 23 Jan 2024 |
| @adam:robins.wtf joined the room. | 00:43:56 |
hexa | https://github.com/NixOS/nixpkgs/pull/283010 can someone review/backport? | 02:52:58 |
hexa | I'm currently too busy unfortunately | 02:53:06 |