| 18 May 2026 |
| @afarawaystar:matrix.org left the room. | 14:16:50 |
niksnut | $ 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 | $ 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 | prek is a rust-based alternative that does not depend on dotnet and has a significantly smaller closure size | 18:40:22 |
hexa | Redacted or Malformed Event | 18:40:34 |
| 19 May 2026 |
tomberek | We are now below 500 open PRs! (by closing a bunch of stale ones from > 2-3 years ago) | 04:17:42 |
Tails | Yay! lol | 13:09:54 |
| todo joined the room. | 15:40:59 |
| amadaluzia changed their profile picture. | 20:56:36 |
| 20 May 2026 |
| Tickle set a profile picture. | 10:03:21 |
Mic92 | Any 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 | This will break people intentionally using qemu-user or similar system wide | 14:39:23 |
dramforever | tbh i don't like "work around partially broken cross builds" | 14:42:09 |
Mic92 | Okay but than you can actually make this implicit behaviour explicit | 14:42:21 |
dramforever | 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 |
Mic92 | 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 | 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 | but also, if you want to, you can just mount your own binfmt_misc | 14:47:47 |
dramforever | without nix even knowing it | 14:47:55 |
Mic92 | 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 |
dramforever | as in, if you want to modify derivations | 14:48:11 |
dramforever | you can just do the cursed dance to get yourself into a user namespace with a binfmt_misc you manage | 14:48:54 |
dramforever | ... actually let me check something brb | 14:51:46 |
Mic92 | @dramforever:matrix.org: I put it on my review list but let me know if I don't get back in a week | 14:55:47 |
Mic92 | It looks mostly fine I did just want to read the double userns stuff again on a bigger screen | 14:56:46 |
dramforever | Mic92: so i don't know how to do it with https://man7.org/linux/man-pages/man1/unshare.1.html, might try later, but what i did in #15539 shows that you can definitely give yourself binfmt_misc without privileges | 15:06:04 |
dramforever | * Mic92: so i don't know how to do it with https://man7.org/linux/man-pages/man1/unshare.1.html, might try later, but what i did in #15539 shows that you can definitely give yourself a binfmt_misc without privileges | 15:06:11 |
dramforever | as said in the pr description #15539 works even on rootless nix | 15:06:29 |
dramforever | so if you're willing to do surgery on the bad perl stuff, i think you can get away with not touching nix at all | 15:07:08 |
dramforever | * so if you're willing to do derivation surgery on the bad perl stuff, i think you can get away with not touching nix at all | 15:07:17 |