!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

941 Members
For people hacking on the Nix package manager itself196 Servers

Load older messages


SenderMessageTime
30 Mar 2026
@eveeifyeve:matrix.orgeveeifyeve * Eelco: It's really interesting looking through the movement on NaN canonicalization wasm issue for builtins.wasm pr, I am not too exactly some runtimes choose to make it required and some don't from what I was reading. It might be a good to get some idea from the wasm developers, if it's not required, The question is what is it's use when some languages like nix don't deal with floating points often? Like are we expected to handle or ignore these? 13:18:17
31 Mar 2026
@pleune:matrix.orgPleune changed their display name from mitchpleune to Pleune.02:01:16
@vcunat:matrix.orgVladimír Čunát I noticed when looking around Hydra that now tests.nix-copy very often fails, even on multiple older Nix branches, e.g. https://hydra.nixos.org/build/325164327#tabs-buildsteps 07:04:53
@vcunat:matrix.orgVladimír Čunát * I noticed when looking around Hydra that now tests.nix-copy very often fails, even on multiple older Nix branches, e.g. https://hydra.nixos.org/build/325164327#tabs-buildsteps or https://hydra.nixos.org/build/325166328 07:05:40
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)I’ve seen a lot of nixosTests timing out because backdoor service doesn’t spin up or something along those lines. It seems like something borked with vm tests machinery08:15:32
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)In nix-copy specifically I think we just lack some synchronisation between server/client08:18:18
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)

This seems like a smoking gun:


client: waiting for Password: to appear on screen
server # [  356.772255] sshd[897]: Timeout before authentication for connection from 2001:db8:1::1 to 2001:db8:1::2, pid = 1023
08:30:38
@juhp:matrix.orgJens Petersen I am getting this warning/error on Fedora with nix-2.34:
warning: unable to download 'https://channels.nixos.org/flake-registry.json': Problem with the SSL CA cert (path? access rights?) (77) error adding trust anchors from file: ; using cached version
Any ideas? (nix-2.33 seems okay)
10:00:16
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Hm, that’s with the release binaries, right? Wonder why the path is empty10:43:38
@juhp:matrix.orgJens Petersen Sergei Zimmerman (xokdvium): no it is a fedora build 11:15:45
@juhp:matrix.orgJens Petersen Okay thanks Sergei Zimmerman (xokdvium) - seems i need to set ssl-cert-file now 11:29:57
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)For onlookers, Jens shared that fedora 44 is removing the default PEM certs https://fedoraproject.org/wiki/Changes/droppingOfCertPemFile11:42:22
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Not a nix change11:42:55
@caverav:matrix.orgcaverav joined the room.18:24:06
1 Apr 2026
@caverav:matrix.orgcaverav set a profile picture.00:27:04
@7karni:matrix.orgAzad Satkarni changed their display name from 7karni to Azad Satkarni.06:40:40
@dramforever:matrix.orgdramforever so if i have multiple nix processes on the same --store that each may build stuff and/or run gc, are these supposed to be synchronized? 15:17:05
@dramforever:matrix.orgdramforeveri've been playing around with gc races and i'm getting all sorts of exciting errors by doing this, even with https://github.com/NixOS/nix/pull/15469 applied15:17:36
@dramforever:matrix.orgdramforever

the recipe:

  • run two of while nix -vvv --min-free 512T --no-auto-optimise-store --store teststore/ build --no-link nixpkgs#pkgsCross.riscv64.hello ; do : ; done
  • run one of while nix -vvv --min-free 512T --no-auto-optimise-store --store teststore/ store gc; do : ; done
    put them each in a tmux pane and watch the chaos unfold
15:21:30
@dramforever:matrix.orgdramforever *

the recipe:

  • run two of while nix -vvv --min-free 512T --no-auto-optimise-store --store teststore/ build --no-link nixpkgs#pkgsCross.riscv64.hello ; do : ; done
  • run one of while nix -vvv --min-free 512T --no-auto-optimise-store --store teststore/ store gc; do : ; done

put them each in a tmux pane and watch the chaos unfold

15:21:37
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @dramforever:matrix.org
so if i have multiple nix processes on the same --store that each may build stuff and/or run gc, are these supposed to be synchronized?
Yeah that’s the idea. What’s exactly breaking?
15:30:53
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Pathlocks being messed up?15:31:48
@dramforever:matrix.orgdramforeverso firstly if the autogc thread is still running when the main thread exits the logger crashes. i've hacked this https://fars.ee/b2go to make it less likely to crash15:35:31
@dramforever:matrix.orgdramforeverand secondly... uh, readdir is not thread safe15:35:41
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Hm where are we doing readdir on the same fd?15:36:08
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)* Hm where are we doing readdir on the same fd from different threads?15:36:18
@dramforever:matrix.orgdramforeveroh, it's not thread safe in posix (yet)15:36:36
@dramforever:matrix.orgdramforeverbut should be fine on glibc, so scratch that15:36:43
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Hm I did see a crash in runtime roots scanning15:39:11
@dramforever:matrix.orgdramforever secondly i'm getting a sigsegv on this boost::regex_match https://github.com/NixOS/nix/blob/b8b3e37b38d2bcc4a4633bf2c7d67e60603308a6/src/libstore/local-gc.cc#L74 15:39:41

Show newer messages


Back to Room ListRoom Version: 6