!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

976 Members
For people hacking on the Nix package manager itself208 Servers

Load older messages


SenderMessageTime
14 May 2026
@tomberek:matrix.orgtomberekOther approach would be to conditionally set it.04:47:37
@tjni:matrix.orgtjni left the room.04:57:40
@tomberek:matrix.orgtomberek
        curl_easy_setopt(req, CURLOPT_TCP_KEEPALIVE, 1L);
        curl_easy_setopt(req, CURLOPT_TCP_KEEPIDLE, 30L);
        curl_easy_setopt(req, CURLOPT_TCP_KEEPINTVL, 30L);
        curl_easy_setopt(req, CURLOPT_MAXAGE_CONN, 90L);

how about this. We may have been hitting a 60s timeout on the server side.. when matching ours there is a small race condition. Looks like 30s is fairly commonly used to prevent that.

05:00:29
@tomberek:matrix.orgtomberekFor consideration: https://github.com/NixOS/nix/pull/1585505:11:05
@hazre:matrix.orghaz joined the room.17:01:42
@kaustubh.desale:matrix.orgkaustubh.desale joined the room.17:16:31
15 May 2026
@graysontinker:matrix.orgGrayson Tinker changed their display name from graysontinker to Grayson Tinker.03:47:20
16 May 2026
@tjni:matrix.orgtjni joined the room.04:29:51
@ethancedwards8:matrix.orgethancedwards8 joined the room.19:38:35
18 May 2026
@cesare:matrix.uao.mecesare joined the room.10:03:03
@afarawaystar:matrix.org@afarawaystar:matrix.org left the room.14:16:50
@niksnut:matrix.orgniksnut
$ nix why-depends /nix/store/3hakkgpkkmbkyfycgn2vk05daycyr0j0-shell-for-nix.drv /nix/store/icmm2f42nj0gskza5jw9dqar8m70dsxx-Microsoft.NETCore.App.Runtime.Mono.linux-x64-8.0.25.drv
/nix/store/3hakkgpkkmbkyfycgn2vk05daycyr0j0-shell-for-nix.drv
└───/nix/store/ly25mjl3qn0mj4rsyvx9kisr3qg7nz31-pre-commit-4.5.1.drv
    └───/nix/store/8dbk4h7vk5n08zin4v7wzm1ljkrr80cc-dotnet-sdk-wrapped-8.0.420.drv
        └───/nix/store/q22qznnglk3gkii7v1cc5dgym0qwl20c-dotnet-sdk-8.0.420.drv
            └───/nix/store/1fj7zqzxs0nnj06hdh97396mvii28n8z-dotnet-aspnetcore-runtime-wrapped-8.0.26.drv
                └───/nix/store/3rf3njg1wj3iw97q202sbd30gcfa3yxa-dotnet-aspnetcore-runtime-8.0.26.drv
                    └───/nix/store/x5fgjq6yxpkyr0nx2d7kc71k1ga6r283-dotnet-vmr-8.0.26.drv
                        └───/nix/store/4vbqz4bx3dvbivwmngjl2pvykljqhp2r-dotnet-stage0-sdk-8.0.126.drv
                            └───/nix/store/s87jq9zgdj45d8nqkzwpvcnqjdbgw3kk-dotnet-stage0-vmr-8.0.26.drv
                                └───/nix/store/w3qzci3qqb6n4z64cfkwcgzasvxz49xb-dotnet-sdk-8.0.125-packages.drv
                                    └───/nix/store/icmm2f42nj0gskza5jw9dqar8m70dsxx-Microsoft.NETCore.App.Runtime.Mono.linux-x64-8.0.25.drv
18:22:25
@niksnut:matrix.orgniksnut
$ nix why-depends /nix/store/3hakkgpkkmbkyfycgn2vk05daycyr0j0-shell-for-nix.drv /nix/store/4x0i46lia2kxnl6v2ls2k3912x5wczzs-ruby-3.4.9.drv
/nix/store/3hakkgpkkmbkyfycgn2vk05daycyr0j0-shell-for-nix.drv
└───/nix/store/86a3sxk2ik53nxsg316nma35jdv5ga2d-pre-commit-config.yaml.drv
    └───/nix/store/cc185jf24j9a46hrgnn2srv5xiy60l8b-remarshal-0.17.1.drv
        └───/nix/store/22j4x618hd7i1j0mlx9a3g5md8davk80-python3.13-rich-argparse-1.7.2.drv
            └───/nix/store/dqz0xxllim9y21svwb49fn4s3qqbzlqw-python3.13-rich-14.3.3.drv
                └───/nix/store/z5xby7c45p8jl1jqvjlhyxqyp6fs8fqv-python3.13-markdown-it-py-4.0.0.drv
                    └───/nix/store/c6bcy6bn8ymk9cz1w0krgz9yh2v1szfh-python3.13-pytest-regressions-2.9.1.drv
                        └───/nix/store/i4af10vvii9n8x2pld415f1irrvfg0h3-python3.13-matplotlib-3.10.8.drv
                            └───/nix/store/8mn05jplsw9xj87zpqwjdrf1bfs8b28r-ffmpeg-headless-8.0.1.drv
                                └───/nix/store/j0l5pfcyfzzcazy1pf6jjn86494f909c-ocl-icd-2.3.4.drv
                                    └───/nix/store/4x0i46lia2kxnl6v2ls2k3912x5wczzs-ruby-3.4.9.drv
18:22:56
@hexa:lossy.networkhexaprek is a rust-based alternative that does not depend on dotnet and has a significantly smaller closure size18:40:22
@hexa:lossy.networkhexaRedacted or Malformed Event18:40:34
19 May 2026
@tomberek:matrix.orgtomberekWe are now below 500 open PRs! (by closing a bunch of stale ones from > 2-3 years ago)04:17:42
@yetanothermask:matrix.orgTailsYay! lol13:09:54
@todoqki:matrix.orgtodo joined the room.15:40:59
@amadaluzia:4d2.orgamadaluzia changed their profile picture.20:56:36
20 May 2026
@reyg0blin:matrix.orgTickle set a profile picture.10:03:21
@joerg:thalheim.ioMic92Any negative downside if we namespace binfmt inside nix builds? https://github.com/lxc/lxc/issues/4520 could be very useful to work around partially broken cross builds.14:37:35
@k900:0upti.meK900 This will break people intentionally using qemu-user or similar system wide 14:39:23
@dramforever:matrix.orgdramforevertbh i don't like "work around partially broken cross builds"14:42:09
@joerg:thalheim.ioMic92Okay but than you can actually make this implicit behaviour explicit 14:42:21
@dramforever:matrix.orgdramforever buuuuuut i made this for the other way around, un-working-around broken cross builds if you have global binfmt_misc https://github.com/NixOS/nix/pull/15539 14:43:27
@joerg:thalheim.ioMic92
In reply to @dramforever:matrix.org
tbh i don't like "work around partially broken cross builds"
Live is too short to have to patch all kinds of broken perl packages
14:43:34
@dramforever:matrix.orgdramforever the annoying thing is you have to be root to write to binfmt_misc, because the thing is hard coded to be owned by 0:0 in its userns 14:44:59
@dramforever:matrix.orgdramforeverbut also, if you want to, you can just mount your own binfmt_misc14:47:47
@dramforever:matrix.orgdramforeverwithout nix even knowing it14:47:55
@joerg:thalheim.ioMic92
In reply to @dramforever:matrix.org
the annoying thing is you have to be root to write to binfmt_misc, because the thing is hard coded to be owned by 0:0 in its userns
I think we already have this for container enabled builds... But it is a bit annoying if we would have to rely on it
14:48:03

Show newer messages


Back to Room ListRoom Version: 6