!VRULIdgoKmKPzJZzjj:nixos.org

Nix Package Manager development

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

Load older messages


SenderMessageTime
31 Mar 2026
@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
@dramforever:matrix.orgdramforeveri don't know why15:39:43
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Yeah that’s what I got too. It’s strange. Since it’s const surely there’s no way it’s not thread-safe right?15:40:26
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Right????15:40:33
@dramforever:matrix.orgdramforeveroh, i can't tell if the first hunk here is necessary15:40:53
@dramforever:matrix.orgdramforever anyway i made that if (procDir && false) 15:42:06
@dramforever:matrix.orgdramforeverit shouldn't matter, right? builder should do their own temproots15:42:14

Show newer messages


Back to Room ListRoom Version: 6