| 9 May 2025 |
| maan2 joined the room. | 20:01:41 |
| 11 May 2025 |
WeetHet | Yep, for example:
nix-instantiate channel:nixpkgs-unstable hello --log-format multiline
[4.4/30.4 MiB DL]
downloading 'https://nixos.org/channels/nixpkgs-unstable/nixexprs.tar.xz'
| 13:59:32 |
WeetHet | * Yep, for example:
$ nix-instantiate channel:nixpkgs-unstable hello --log-format multiline
[4.4/30.4 MiB DL]
downloading 'https://nixos.org/channels/nixpkgs-unstable/nixexprs.tar.xz'
| 13:59:38 |
WeetHet | * Yep, for example:
$ nix-instantiate channel:nixpkgs-unstable -A hello --log-format multiline
[4.4/30.4 MiB DL]
downloading 'https://nixos.org/channels/nixpkgs-unstable/nixexprs.tar.xz'
| 13:59:59 |
WeetHet | https://github.com/NixOS/nix/issues/13168
Let's see what people think | 14:07:35 |
| 12 May 2025 |
fzakaria | Whose familiar with SourceAccessor in CppNix ? We were seeing divergent failures for missing files; I was seeing "FileNotFoundError" and Shahar "Dawn" Or (mightyiam) was seeing "SysError" (although not in unit tests).
We've rebased and it's gone away but it's bugging me not knowing the difference.
| 15:58:50 |
fzakaria | My best guess -- is his Nix build was picking a different SourceAccessor. Mine seemed to be picking PosixSourceAccessor. | 15:59:27 |
| @michael.zeagler:matrix.org joined the room. | 20:25:48 |
| 13 May 2025 |
John Ericson | Eelco: if (settings.buildHook.get().empty() || !worker.tryBuildHook || !useDerivation) return rpDecline; | 19:31:48 |
John Ericson | do you know what !useDerivation is needed? | 19:31:56 |
John Ericson | this comes from 1511aa9f488ba0762c2da0bf8ab61b5fde47305d | 19:32:25 |
John Ericson | what confuses me is that I thought we would convert to using in-memory derivations with the build hook | 19:33:06 |
John Ericson | i.e. we computed the inputs closure, and then we send that to the build hook | 19:33:17 |
John Ericson | and thereafter we're working in-memory | 19:33:25 |
John Ericson | so I don't get what this condition accomplishes, and yet if I remove it, tests hang | 19:33:53 |
John Ericson | does remote building even work with an eval store? | 23:00:49 |
| 14 May 2025 |
jade_ | i just released https://jade.fyi/blog/misadventures-in-dtrace/ and it occurs to me that it might be prudent to give y'all a heads-up of our plight with MonitorFdHup and to suggest potentially picking our macOS platform-specific implementation of it | 02:23:25 |
| 15 May 2025 |
| James Wilmot joined the room. | 01:27:33 |
| regalk removed their profile picture. | 13:02:21 |
Mic92 | jade_: is the code that causes this bug shared between poll() and select()? | 13:42:35 |
| Marco Turchetto joined the room. | 20:41:29 |
| 16 May 2025 |
Winter | why does setting preferLocalBuild on a drv change its store path? i know it's because it leaks into env, but... why? | 02:20:38 |
Winter | nvm i think i got it | 02:23:02 |
Ilan Joselevich (Kranzes) | Are you asking why it leaks into env then? | 07:35:27 |
jade_ | i don't know. but isn't select broken for having more than 1024 fds? i think also if you poll for readable events as eelco did in 2023ish, it probably does avoid the kernel shenanigans, but by the time i wrote the platform specific implementation i wanted off of macOS poll's wild ride | 20:00:58 |
jade_ | there is also an undocumented kqueue API (used by netty) that only works for sockets and gives us exactly what we want, but it doesn't work on pipes, which we use for nix-daemon --stdio | 20:01:52 |
| 17 May 2025 |
| mjolnir banned @mightyiam:matrix.org (persistent time-wasting). | 23:30:27 |
| 18 May 2025 |
| jasi 🏳️⚧️ set a profile picture. | 00:08:54 |
Mic92 | We only need two fds for the case you were trying to fix. And my hope is that using multiple fds in select() is so common that it just works even on macOS. | 14:57:10 |
Mic92 | This would avoid platform specific code. | 14:57:29 |