!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

883 Members
For people hacking on the Nix package manager itself189 Servers

Load older messages


SenderMessageTime
13 May 2025
@Ericson2314:matrix.orgJohn Ericson do you know what !useDerivation is needed? 19:31:56
@Ericson2314:matrix.orgJohn Ericsonthis comes from 1511aa9f488ba0762c2da0bf8ab61b5fde47305d19:32:25
@Ericson2314:matrix.orgJohn Ericsonwhat confuses me is that I thought we would convert to using in-memory derivations with the build hook19:33:06
@Ericson2314:matrix.orgJohn Ericsoni.e. we computed the inputs closure, and then we send that to the build hook19:33:17
@Ericson2314:matrix.orgJohn Ericsonand thereafter we're working in-memory19:33:25
@Ericson2314:matrix.orgJohn Ericsonso I don't get what this condition accomplishes, and yet if I remove it, tests hang19:33:53
@Ericson2314:matrix.orgJohn Ericsondoes remote building even work with an eval store?23:00:49
14 May 2025
@jade_:matrix.orgjade_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 it02:23:25
15 May 2025
@james.wilmot:matrix.orgJames Wilmot joined the room.01:27:33
@regalk:regalk.devregalk removed their profile picture.13:02:21
@joerg:thalheim.ioMic92 jade_: is the code that causes this bug shared between poll() and select()? 13:42:35
@mrtrk:matrix.orgMarco Turchetto joined the room.20:41:29
16 May 2025
@winter:catgirl.cloudWinter 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:catgirl.cloudWinternvm i think i got it02:23:02
@kranzes:matrix.orgIlan Joselevich (Kranzes)Are you asking why it leaks into env then?07:35:27
@jade_:matrix.orgjade_ 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_:matrix.orgjade_ 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:nixos.orgNixOS Moderation Bot banned @mightyiam:matrix.org@mightyiam:matrix.org (persistent time-wasting).23:30:27
18 May 2025
@normalcea:matrix.orgjasi 🏳️‍⚧️ set a profile picture.00:08:54
@joerg:thalheim.ioMic92We 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
@joerg:thalheim.ioMic92This would avoid platform specific code.14:57:29
@qyliss:fairydust.spaceAlyssa RossIt's not the number of fds that select is limited by — it's the fd numbers14:59:21
@qyliss:fairydust.spaceAlyssa Rosslike if you have two fds but both of them are high values that's not compatible with select14:59:39
@qyliss:fairydust.spaceAlyssa RossI have heard that select on macOS does work though14:59:49
@joerg:thalheim.ioMic92Ok. that makes it a non-starter for this api.14:59:59
19 May 2025
@orzklv:floss.uz@orzklv:floss.uz left the room.18:04:43
@oak:universumi.fioak 🏳️‍🌈♥️ changed their display name from oak 🫱⭕🫲 to oak.10:58:46
@oak:universumi.fioak 🏳️‍🌈♥️ changed their display name from oak to oak 🏳️‍🌈♥️.11:00:36
@mgaughan:matrix.orgmgaughan joined the room.20:36:06
20 May 2025
@trofi:matrix.org@trofi:matrix.org You can make linux select() to work for large FDs as well, but you would have to roll your own bit setting code to avoid glibc's limit (or override FD_SETSIZE). 05:41:45

Show newer messages


Back to Room ListRoom Version: 6