!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

913 Members
For people hacking on the Nix package manager itself192 Servers

Load older messages


SenderMessageTime
27 Feb 2026
@amadaluzia:unredacted.orgamadaluzia changed their profile picture.03:55:36
@devi0us.m0nk:matrix.orgdevi0usm0nk joined the room.17:14:11
@devi0us.m0nk:matrix.orgdevi0usm0nk changed their display name from devi0us.m0nk to devi0usm0nk.18:29:20
@jaen:matrix.orgjaen

Playing around with dynamic derivations and the following:

builtins.outputOf (builtins.outputOf plannerDrv.outPath "out") "out"

nets me an error like this:

error: error parsing derivation '/nix/store/…-group-0': store path '…-group-0' is not a valid derivation path

This an attempt at multi-level CA-guarded rebuild chunking — the planner creates the build graph (in this case, from ninja files), the intermediate builder (or builders depending on what makes more sense there can be > 1 level of chunks) that eventually emits a directory with build outputs. And I'm not entirely sure if it's me who is doing something wrong and this is intended not to work, or whether this is some implementation oversight and/or current limitation?

18:31:13
@jaen:matrix.orgjaenNow that I think about it, it's probably what https://github.com/NixOS/nix/issues/12727 is talking about, in which case I'm wondering how hard would it be to fix? I seem to have hacked this out by just checking if this parses as a derivation or not to decide whether we arrived at the leaf, but looking at the issue I assume that's not probably a principled enough solution?18:31:16
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)2.32 bump in 25.11 https://github.com/NixOS/nixpkgs/pull/49482922:36:42
@xokdvium:matrix.orgSergei Zimmerman (xokdvium) Jens Petersen: Artemis Tosini (NixOS) and John Ericson have put significant effort into getting multiuser installs working working without requiring root for 2.34. It works by running the daemon in an unprivilidged userns with subuid/subgid mappings for build users. Would that be something that fedora packaging would be interested in? 22:43:49
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Might still be rough around the edges, but our test suite passes with that setup in nixos tests https://github.com/NixOS/nix/blob/master/tests/nixos/functional/unprivileged-daemon.nix22:48:19
28 Feb 2026
@foolnotion:matrix.orgBogdan Burlacu joined the room.06:44:11
@juhp:matrix.orgJens Petersen Sergei Zimmerman (xokdvium): Oh wow, fascinating, for sure! I probably need to start looking at build 2.33 - needs aws-crt-cpp I think 12:04:30
@juhp:matrix.orgJens PetersenWill have to give it a try12:05:53
@juhp:matrix.orgJens Petersen * Sergei Zimmerman (xokdvium): Oh wow, fascinating, for sure! I probably need to start looking at building 2.33 - needs aws-crt-cpp I think 12:06:07
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Should be easier than aws-sdk-cpp, aws-crt-cpp is much lighter weight dep and should already be included in the aws-sdk12:06:53
@juhp:matrix.orgJens PetersenOkay - we don't have aws-sdk in fedora 🙃12:09:32
@juhp:matrix.orgJens Petersen* Okay - we don't have aws-sdk in fedora 🙃 afaik12:09:42
@juhp:matrix.orgJens PetersenAnyway first I should probably build 2.32.6 :-)12:10:03
@juhp:matrix.orgJens PetersenSeems a rather long list of deps - wish they would bootstrap aws-crt-cpp... 😿12:51:08
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)FWIW s3 dep is optional - only needed for sigv4 auth12:56:38
@sandro:supersandro.deSandro 🐧Or ignore it for now, it's not that important for the start12:56:53
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)If you were not building 2.31 with aws-sdk then crt-cpp is not necessary too12:58:27
@juhp:matrix.orgJens Petersen Sergei Zimmerman (xokdvium): ah okay - it is optional - let me check how to turn it off if needed, thanks 13:19:01
@juhp:matrix.orgJens Petersen * Sergei Zimmerman (xokdvium): ah okay - is it optional - let me check how to turn it off if needed, thanks 13:19:10
@xokdvium:matrix.orgSergei Zimmerman (xokdvium) I think we have it set up as meson feature that gets auto disabled if the dep isn’t found 13:19:55
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)libstore:aws-s3-auth or something13:20:31
@juhp:matrix.orgJens PetersenOkay cool got past that, now at jv13:31:43
@juhp:matrix.orgJens Petersen * Okay cool got past that, now at jv
edit: okay I turned off two checks and now seems to be building
17:09:16
1 Mar 2026
@0xmrtt:envs.net@0xmrtt:envs.net removed their profile picture.02:36:55
@0xmrtt:envs.net@0xmrtt:envs.net removed their display name 0xMRTT [envs.net].02:40:23
@0xmrtt:envs.net@0xmrtt:envs.net left the room.02:41:26
@asoderlind:envs.net@asoderlind:envs.net left the room.05:09:02

Show newer messages


Back to Room ListRoom Version: 6