| 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 |
hexa | cc Yureka (she/her), emily | 02:53:33 |
hexa | * https://github.com/NixOS/nixpkgs/pull/283010 can someone review/test/backport? | 02:53:42 |
hexa | also fixup the commit with release notes, the security advisory and the CVEs which were fixed | 02:54:16 |
hexa | also esr 😕 | 02:54:18 |
@yuka:yuka.dev | I wanted to test the binary that ofborg already built and pushed to cachix.... jokes on me, that binary is x86 😂 | 10:17:53 |
@yuka:yuka.dev | what do you usually test? | 10:23:23 |
@yuka:yuka.dev | besides "it starts" and "the nixos test passes" | 10:23:31 |
hexa | hwdec, webgl, cam, mic | 10:57:51 |
vcunat | IIRC you need NixOS on not-too-far commit for some of this to work well. I certainly recall messages about SW rendering when crossing to a different NixOS release. | 11:20:31 |
| lovesegfault changed their display name from lovesegfault (Old) to lovesegfault. | 19:28:48 |
| lovesegfault changed their profile picture. | 19:28:55 |
| lovesegfault changed their profile picture. | 19:29:10 |