!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

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

Load older messages


SenderMessageTime
8 Dec 2025
@dramforever:matrix.orgdramforeveri don't think so17:05:11
@dramforever:matrix.orgdramforeveri can try to mess with sandbox-build-dir though17:08:35
@dramforever:matrix.orgdramforevermaybe it's some cgroup and auto-allocate-uids stuff?17:18:34
@joerg:thalheim.ioMic92no.17:29:44
@joerg:thalheim.ioMic92no to what?17:37:20
@joerg:thalheim.ioMic92Probably should be merged before the release: https://github.com/NixOS/nix/pull/1473920:16:00
@joerg:thalheim.ioMic92https://github.com/NixOS/nix/pull/14743 and now this one as well22:27:09
9 Dec 2025
@niksnut:matrix.orgniksnutRelease notes PR, please add anything relevant that's missing: https://github.com/NixOS/nix/pull/1475215:57:43
@keiichi:matrix.orgteto I cant edit but for #8871 (teto) it's a PR that makes nix flake show keep going even when an attribute in "packages" is not a derivation. ie., it lists all attributes and names the ones that are not derivations (it previously didn't so you have to check which one was not a derivation) 16:31:35
@Ericson2314:matrix.orgJohn Ericson Sergei Zimmerman (xokdvium): what exactly did you find with 2.4 and nulls? 16:56:00
@Ericson2314:matrix.orgJohn Ericsonmy guess that it never parsed the nulls, but also back then it wasn't making a data structure16:56:20
@Ericson2314:matrix.orgJohn Ericson it was just "shotgun parsing" in LocalDerivationGoal 16:56:30
@Ericson2314:matrix.orgJohn Ericsonwas there an error?16:56:36
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @Ericson2314:matrix.org
my guess that it never parsed the nulls, but also back then it wasn't making a data structure
It also failed to build the derivation with a message like expected a list
16:56:53
@Ericson2314:matrix.orgJohn Ericsonhuh ok16:57:08
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)derivation-show also16:57:16
@Ericson2314:matrix.orgJohn Ericsonso Nixpkgs has just been wrong this whole time?16:57:17
@Ericson2314:matrix.orgJohn Ericson nix derivation show made an error? 16:57:47
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @Ericson2314:matrix.org
so Nixpkgs has just been wrong this whole time?
I guess so. I can double check since a was doing that in a rush this morning, but I tested 2.4’s show-derivation and building too.
16:58:14
@Ericson2314:matrix.orgJohn EricsonI would not expect 2.4 to make an error about this since the parsing is in the builder16:58:50
@Ericson2314:matrix.orgJohn Ericsonbut maybe you just meant you checked what the derivation looked like?16:59:04
@Ericson2314:matrix.orgJohn Ericson(in case it was a nix language -> parsing issue?)16:59:24
@shine:proqqul.netTaeer Bar-Yam It seems like nixpkgs has been "wrong", but for some reason that I still can't figure out, it does work what they're doing (in the case of __structuredAttrs = false;) 17:08:03
@Ericson2314:matrix.orgJohn Ericsonthat null becomes the empty string?17:08:55
@Ericson2314:matrix.orgJohn Ericsonso structured attrs true was always broken, but not structured attrs false?17:09:17
@shine:proqqul.netTaeer Bar-Yam

No. null becomes empty string in my own example that i cooked up, not using inputDerivation. In that case it fails to build.

inputDerivation somehow gets rid of allowedReferences, despite setting it to null, and it succeeds to build

17:09:54
@shine:proqqul.netTaeer Bar-YamI think so17:10:12
@Ericson2314:matrix.orgJohn EricsonOK so I was fixing the wrong branch :)17:10:35
@shine:proqqul.netTaeer Bar-Yamhonestly both branches seem broken17:11:19
@Ericson2314:matrix.orgJohn Ericsoncode branch17:11:23

Show newer messages


Back to Room ListRoom Version: 6