!VRULIdgoKmKPzJZzjj:nixos.org

Nix Package Manager development

871 Members
For people hacking on Nix: https://github.com/NixOS/nix Nix maintainers can be reached here.182 Servers

Load older messages


SenderMessageTime
19 Dec 2025
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)curl is already pretty async and works with completion callbacks from another thread, it's the downstream code that sucks02:12:42
@thomasjm:matrix.orgthomasjmsounds like a nice change02:13:40
@thomasjm:matrix.orgthomasjmi feel like #13301 could have done with a release notes entry as it's a significant change in behavior02:13:59
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Without the bug?02:15:44
@thomasjm:matrix.orgthomasjmyeah, the non-graceful failure has always been a problem so the fix would be good to advertise. there are people talking about how it changes their deployment strategies in one of the linked discourse threads02:16:59
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)

Hm, arguably that was a bugfix because:

          If set to `true`, Nix falls back to building from source if a
          binary substitute fails. This is equivalent to the `--fallback`
          flag. The default is `false`.

So fallback flag shouldn't have bailed out at all.

Release notes could use some love indeed though.

02:18:32
@eveeifyeve:matrix.orgeveeifyeveHuh it really pains me that exceptions don't work properly in msys2.09:43:08
@eveeifyeve:matrix.orgeveeifyeveRedacted or Malformed Event11:26:08
@juliankuners:matrix.orgJulianRedacted or Malformed Event13:58:59
@shine:proqqul.netTaeer Bar-Yamwhy do workflows require approval to run? is that a new thing?14:01:26
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)

Did some benchmarking of tarball unpacking on my sluggish macos opencore x86 hackintosh:

current master with multithreaded sink:

37.32s user 1.36s system 360% cpu 10.731 total

2.33:

38.60s user 0.56s system 156% cpu 25.064 total

2.32:

42.26s user 14.93s system 104% cpu 54.691 total

2.22 (just to see how bad loose objects really are)

15.11s user 71.89s system 75% cpu 1:55.67 total

Very nice. The system time reduction is very nice on top of the general parallel hashing of blobs. Much more efficient and faster too.

22:38:02
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)So that's a 12x speedup from what we used to have when the tarball cache initially landed. Whew. Holding libgit2 just the right way is crazy22:39:43
@xokdvium:matrix.orgSergei Zimmerman (xokdvium) That's for a https://channels.nixos.org/nixos-25.05/nixexprs.tar.xz tarball 22:40:20
@joerg:thalheim.ioMic92Now most time is spent in xz? 22:55:23
@joerg:thalheim.ioMic92
In reply to @shine:proqqul.net
why do workflows require approval to run? is that a new thing?
New contributors only in a given repo. It's some protection when people started to abuse CI for crypto mining
22:57:12
@joerg:thalheim.ioMic92Has been around for quite a few years22:57:40
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)

Nah, it's in libgit2's sha1dc:

   9643  Total number in stack (recursive counted multiple, when >=5):
   9644          225       sha1_compression_states  (in libgit2.1.9.0.dylib) + 0  [0x10bffb2c0]
   9645          216       sha1_process  (in libgit2.1.9.0.dylib) + 98  [0x10bffc922]
   9646          193       ubc_check  (in libgit2.1.9.0.dylib) + 0  [0x10bfff780]
   9647          190       sha1_process  (in libgit2.1.9.0.dylib) + 129  [0x10bffc941]
   9648          185       git_hash_sha1_update  (in libgit2.1.9.0.dylib) + 14  [0x10bffb21e]
   9649          177       SHA1DCUpdate  (in libgit2.1.9.0.dylib) + 143  [0x10bffc85f]
   9650          173       _platform_memmove$VARIANT$Haswell  (in libsystem_platform.dylib) + 0  [0x7ff815ba69c0]
   9651          138       git_odb_read  (in libgit2.1.9.0.dylib) + 245  [0x10c064055]
   9652          137       git_odb__hashobj  (in libgit2.1.9.0.dylib) + 214  [0x10c061686]
   9653          135       git_hash_vec  (in libgit2.1.9.0.dylib) + 143  [0x10bfec95f]
   9654          129       odb_read_1  (in libgit2.1.9.0.dylib) + 190  [0x10c06415e]

23:04:39
20 Dec 2025
@acidbong:envs.net@acidbong:envs.net joined the room.07:34:49
@tomberek:matrix.orgtomberek

Performance evaluating ffmpeg.outPath:

version cpuTime totalBytes
2.18.0  0.7706810235977173      239063920
2.19.0  0.6556280255317688      237453216
2.20.0  0.6005399823188782      221187424
2.21.0  0.6103590130805969      219954112
2.22.0  0.6383659839630127      221675008
2.23.0  0.6425349712371826      221675040
2.24.0  0.6011530160903931      221674208
2.25.0  0.500432014465332       214758096
2.26.0  0.5055519938468933      214758096
2.26.0  0.4858900010585785      214758096
2.28.0  0.5660200119018555      214758240
2.29.0  0.5035560131072998      214746848
2.30.0  0.5135070085525513      169822960
2.31.0  0.624688982963562       169822960
2.32.0  0.6163859963417053      130878112
2.33.0  0.5727580189704895      131258912
18:05:41
21 Dec 2025
@connorbaker:matrix.orgconnor (burnt/out) (UTC-8)Has anyone made a wrapper around hyperfine yet that allows us to get summary statistics of the data output by NIX_SHOW_STATS?19:02:53
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @connorbaker:matrix.org
Has anyone made a wrapper around hyperfine yet that allows us to get summary statistics of the data output by NIX_SHOW_STATS?
Lix has some and I do occasionally use the bench/ scripts
19:14:52
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)So, not really. I would be nice to get continuous benchmarking going with something like llvm-lnt, but I haven’t had the time to work on it more19:16:04
@acidbong:envs.net@acidbong:envs.net left the room.20:09:28
22 Dec 2025
@eveeifyeve:matrix.orgeveeifyeveMaybe I could take over?13:22:02
@eveeifyeve:matrix.orgeveeifyeveI've got free hands.13:22:42
@eveeifyeve:matrix.orgeveeifyeveIs nix-meeting now??17:00:31
@tomberek:matrix.orgtomberekyes17:00:52
@eveeifyeve:matrix.orgeveeifyeveI am already here.17:01:23
@znaniye:matrix.orgznaniye

Has anyone else hit this error during a remote deploy? I couldn't any useful related issue.

znaniye in ~/code/freedom/jig on nix ● λ nixos-rebuild-ng --sudo --flake .#jig --builders "" --target-host jig boot
building the system configuration...
warning: Git tree '/home/znaniye/code/freedom/jig' is dirty
[1/227/238 built, 495 copied (2611.4 MiB), 1213.1 MiB DL] building python3.13-twisted-25.5.0 (installCheckPhase):     test_UpdateInstance ...           copying 13 paths...
copying path '/nix/store/p29j6vrnl0j6w69z2065djmril66qcnn-python3.13-twisted-25.5.0' to 'ssh://jig'...
copying path '/nix/store/ycgwrw15l41j66rrm0574vv20m8zr8nn-nix.conf' to 'ssh://jig'...
error (ignored): writing to file: Bad file descriptor
error: serialised integer 7142773272180060773 is too large for type 'j'
Command 'nix-copy-closure --to jig /nix/store/1lbi3i3in000gykivijhd53kcazscf4w-nixos-system-jig-sd-card-25.11.20251201.dc13163' returned non-zero exit status 1.
17:58:23
@zehcnas34:matrix.orgzevur joined the room.20:55:30

Show newer messages


Back to Room ListRoom Version: 6