!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

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

Load older messages


SenderMessageTime
6 Dec 2025
@joerg:thalheim.ioMic92So know I took out the hammer and shutdown the unix socket.07:10:42
@joerg:thalheim.ioMic92 * Sergei Zimmerman (xokdvium): so the issue I am facing is that our connection loop in nix-daemon --stdio has some check for interrupts, but for some reason also the SIGUSR1 from monitorfdhup is sent, it still doesn't exit that read loop. It's weird. 07:10:58
@joerg:thalheim.ioMic92correction: ReceiveInterrupts sends SIGUSR107:11:44
@joerg:thalheim.ioMic92Not the nicest fix, but I can have the CI I am experiencing this with also not being blocked for too long, because it's some sort of production deployment.07:14:07
@joerg:thalheim.ioMic92And it will take a few days for this error to accumlate.07:14:30
@joerg:thalheim.ioMic92

Sergei Zimmerman (xokdvium):

% sudo darwin-rebuild switch --flake .#evo
building the system configuration...
error:
       … while calling the 'derivationStrict' builtin
         at «nix-internal»/derivation-internal.nix:37:12:
           36|
           37|   strict = derivationStrict drvAttrs;
             |            ^
           38|

       … while evaluating derivation 'darwin-system-25.11.e95de00'
         whose name attribute is located at «git+https://github.com/Mic92/nixpkgs?ref=main&rev=a502e0b59371c0f203d6df2164dbf530710fe06a&shallow=1»/pkgs/stdenv/generic/make-derivation.nix:541:13

       … while evaluating attribute 'activationScript' of derivation 'darwin-system-25.11.e95de00'
         at «github:nix-darwin/nix-darwin/e95de00a471d07435e0527ff4db092c84998698e?narHash=sha256-HN84sByg9FhJnojkGGDSrcjcbeioFWoNXfuyYfJ1kBE%3D»/modules/system/default.nix:89:7:
           88|
           89|       activationScript = cfg.activationScripts.script.text;
             |       ^
           90|

       … while evaluating the option `system.activationScripts.script.text':

       … while evaluating definitions from `/nix/store/gkp2whrza8y3zwrldfrii5pawjjff3jj-source/modules/system/activation-scripts.nix':

       … while evaluating the option `system.activationScripts.launchd.text':

       … while evaluating definitions from `/nix/store/gkp2whrza8y3zwrldfrii5pawjjff3jj-source/modules/system/launchd.nix':

       … while evaluating the option `environment.launchDaemons."org.nixos.telegraf.plist".source':

       … while evaluating the option `environment.launchDaemons."org.nixos.telegraf.plist".text':

       … while evaluating definitions from `/nix/store/gkp2whrza8y3zwrldfrii5pawjjff3jj-source/modules/launchd':

       … while evaluating the option `launchd.daemons.telegraf.serviceConfig.ProgramArguments':

       … while evaluating definitions from `/nix/store/gkp2whrza8y3zwrldfrii5pawjjff3jj-source/modules/launchd':

       … while evaluating the option `launchd.daemons.telegraf.command':

       … while evaluating definitions from `/nix/store/gkp2whrza8y3zwrldfrii5pawjjff3jj-source/modules/launchd':

       … while evaluating the option `launchd.daemons.telegraf.script':

       … while evaluating definitions from `/nix/store/gkp2whrza8y3zwrldfrii5pawjjff3jj-source/modules/services/monitoring/telegraf.nix':

       … while evaluating definitions from `/nix/store/kp2788n7m4plv4m0v3kmhl4ld7cnvpcz-source/shared/common/flake.nix':

       … while evaluating the option `flake.checks':

       … while evaluating the option `partitions.dev.module':

       … while evaluating definitions from `/nix/store/r3i0h1671yjfr8xzldmvbyffyrmx2y0m-source/extras/partitions.nix':

       (stack trace truncated; use '--show-trace' to show the full, detailed trace)

       error: looking up file '«github:hercules-ci/hercules-ci-effects/7db2b867219a26781437d840ce457b75b7645154?narHash=sha256-pLE7U5gOtlA/2wbKCsVRYf5DqMQ5TWBCrCfZGytDDeo%3D»/effects/cargo/test/.gitignore': object not found - no match for id (ea8c4bf7f35f6f77f75d92ad8ce8349f6e81ddba)
sudo darwin-rebuild switch --flake .#evo  4.54s user 1.16s system 66% cpu 8.593 total

I think my system nix might be still the old one? it works when I run this as normal user (i.e. run build) but the command run as root triggers this error

07:42:54
@joerg:thalheim.ioMic92Yeah, after updating, now it works?07:44:26
@joerg:thalheim.ioMic92Okay, might be fine than...07:44:32
@roberthensing:matrix.orgroberthWe could use some help with https://github.com/libgit2/libgit2/pull/711713:04:13
@roberthensing:matrix.orgroberth Because nix is starting to be affected by this new git feature (https://github.com/NixOS/nix/issues/14716) 13:05:01
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @roberthensing:matrix.org
We could use some help with https://github.com/libgit2/libgit2/pull/7117
Would be nice to figure out why upstream is dead silent. John did mention that on libgit2’s slack people were saying that the maintainer is MIA. There want much activity since their discussion about sha256 iiuc
13:07:03
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @roberthensing:matrix.org
We could use some help with https://github.com/libgit2/libgit2/pull/7117
* Would be nice to figure out why upstream is dead silent. John did mention that on libgit2’s slack people were saying that the maintainer is MIA. There wasn’t much activity since their discussion about sha256 iiuc
13:07:17
@strangeoceans:unredacted.org@strangeoceans:unredacted.org joined the room.23:03:08
7 Dec 2025
@roberthensing:matrix.orgroberthHere's an opportunity to solve some community concerns about flakes https://discourse.nixos.org/t/outlining-the-differences-between-flakes-and-nix-configs/72996?u=roberth15:38:03
@roberthensing:matrix.orgroberthNot quite the solve-bugs-first approach, but valid nonetheless15:38:18
@roberthensing:matrix.orgroberthadopt this rust code https://fosstodon.org/@ole/11567936342255172817:12:28
@roberthensing:matrix.orgroberthI've opened an RFC to help the flakes project incorporate old community feedback. Would love to have your feedback on https://github.com/NixOS/rfcs/pull/19323:07:01
@roberthensing:matrix.orgroberth"TOML flakes"23:07:16
8 Dec 2025
@roberthensing:matrix.orgroberth Now also https://github.com/NixOS/rfcs/pull/194 for the inputs.entrypoint part 10:13:43
@roberthensing:matrix.orgroberthI've split it into two10:14:10
@dramforever:matrix.orgdramforever cc vcunat i can't reproduce the aarch64-darwin build failure on nix-community darwin01, /nix/store/1jgxwz43j7rjbfywcldlqxss0iwqgsby-nix-functional-tests-2.31.2+1.drv succeeds there, reproducibly 11:52:06
@dramforever:matrix.orgdramforever * re https://github.com/NixOS/nixpkgs/pull/468208#issuecomment-3626314109 vcunat i can't reproduce the aarch64-darwin build failure on nix-community darwin01, /nix/store/1jgxwz43j7rjbfywcldlqxss0iwqgsby-nix-functional-tests-2.31.2+1.drv succeeds there, reproducibly 11:52:23
@dramforever:matrix.orgdramforevermy only idea is can you possibly try making it not have a plus sign in the name?11:52:43
@vcunat:matrix.orgVladimír ČunátI wonder. What I tested is unsandboxed nix config.11:53:13
@vcunat:matrix.orgVladimír Čunát(I think Hydra's builders are also unsandboxed?)11:53:25
@dramforever:matrix.orgdramforeveroh11:54:07
@dramforever:matrix.orgdramforever like as in --no-sandbox? 11:54:36
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @dramforever:matrix.org
my only idea is can you possibly try making it not have a plus sign in the name?
Mhm that got fixed on maintenance branch
11:55:25
@vcunat:matrix.orgVladimír ČunátAs in no sandbox mentioned in nix.conf.11:55:29
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @xokdvium:matrix.org
Mhm that got fixed on maintenance branch
It’s the borked soname with appendPatches
11:56:21

Show newer messages


Back to Room ListRoom Version: 6