!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

880 Members
For people hacking on the Nix package manager itself187 Servers

Load older messages


SenderMessageTime
3 Oct 2025
@joerg:thalheim.ioMic92Merged.07:25:45
@getchoo:matrix.orggetchoohttps://github.com/NixOS/nix/pull/14002 is now all green (consistently)08:00:40
@joerg:thalheim.ioMic92Thanks a lot. I also opened https://github.com/NixOS/org/issues/16708:16:19
@joerg:thalheim.ioMic92so you can trigger ci runs etc.08:16:55
@joerg:thalheim.ioMic92 @getchoo:matrix.org: i added you now to the installer team. There is a python script repo that uploads new releases from a triggered GitHub action that accepts a hydra eval. When i tested it once it failed but it seemed to have worked at least one time. It could be that we know have to set a user agent to get past the ai scraper shield that we added in front of hydra.nixos.org? I didn't had a closer look. 14:09:15
@lovesegfault:matrix.orglovesegfault thoughts on temporarily extending CI to also test withAWS = false; withCurlS3 = false and withAWS = false; withCurlS3 = true;? 15:38:14
@lovesegfault:matrix.orglovesegfaultI just want to reduce the chance of messing something up while we get all these parts merged 15:38:28
@lovesegfault:matrix.orglovesegfaulthttps://github.com/NixOS/nix/pull/1414716:59:23
@lovesegfault:matrix.orglovesegfaultwe can revert it once we're done messing with that codepath16:59:46
@asoderlind:envs.netasoderlind joined the room.17:08:14
@lovesegfault:matrix.orglovesegfault cc. Sergei Zimmerman (xokdvium) on the above, I think? 17:18:34
@lovesegfault:matrix.orglovesegfaultthe next PR in the series starts to introduce things side-by-side, so it'll be nice to have that in before I make it17:19:00
@moleksiak:matrix.orgmoleksiak joined the room.23:07:21
4 Oct 2025
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC) changed their profile picture.08:41:10
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC) changed their profile picture.08:41:31
@xokdvium:matrix.orgSergei Zimmerman (xokdvium) Mic92: 21:33:25
@xokdvium:matrix.orgSergei Zimmerman (xokdvium) * Mic92, John Ericson my suspect for https://hydra.nixos.org/build/308585653/nixlog/3 (https://github.com/NixOS/nix/issues/14141) is https://github.com/NixOS/nix/commit/e06968ec2586a9ccd18e58d1796de6d9ac628bc6 21:34:17
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Trying to repro with sanitizers, but not much luck yet. Seems to be fucky UB.21:35:54
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)I think I've run into a very fucky store path corruption as well while dogfooding master. Must be the same root cause21:47:58
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Or was it https://github.com/NixOS/nix/pull/14022/commits maybe?22:12:01
@xokdvium:matrix.orgSergei Zimmerman (xokdvium) Alternate theory. There's UB somewhere in the code base and with the switch to -fno-semantic-interposition GCC is happily optimising the heck out of things. 23:42:23
5 Oct 2025
@joerg:thalheim.ioMic92 @xokdvium:matrix.org: would that be catched if someone runs nix with ubsan in their hosy daemon? 04:44:34
@joerg:thalheim.ioMic92 Sergei Zimmerman (xokdvium): https://github.com/NixOS/nix/pull/14155 05:31:15
@joerg:thalheim.ioMic92for sunsetting mergify05:31:23
@maxwell_dev:mozilla.orgMiku joined the room.09:31:43
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Ok managed to hit this locally at least once. My suspicion is that it's a use-after-free and with musl those blow up more predictably.12:29:17
@shine:proqqul.netTaeer Bar-Yamdon't we run things through ASAN at some point?14:04:58
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Yeah we do now, but that's not enough it seems14:05:22
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)

I think clang-tidy managed to dig up something relevant:

../src/libstore/build/derivation-check.cc:85:35: warning: Dereference of undefined pointer value [clang-analyzer-core.NullDereference]
   85 |             if (checks.maxSize && info.narSize > *checks.maxSize)
../src/libstore/build/derivation-check.cc:117:31: warning: 4th function call argument is an uninitialized value [clang-analyzer-core.CallAndMessage]
  117 |                         throw BuildError(
../src/libstore/build/derivation-check.cc:181:45: warning: 2nd function call argument is an uninitialized value [clang-analyzer-core.CallAndMessage]
  181 |                     if (auto outputChecks = get(checksPerOutput, outputName))
14:08:22
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Yeah turned out to be false-positives19:22:42

Show newer messages


Back to Room ListRoom Version: 6