!UNVBThoJtlIiVwiDjU:nixos.org

Staging

368 Members
Staging merges | Find currently open staging-next PRs: https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+sort%3Aupdated-desc+head%3Astaging-next+head%3Astaging-next-21.05+is%3Aopen117 Servers

Load older messages


SenderMessageTime
22 Apr 2026
@raitobezarius:matrix.orgraitobezariusMeh I'm sure we will fall in the pointer tagging change and this won't help me understanding what is going on12:31:03
@raitobezarius:matrix.orgraitobezariusI will try analyzing the forcing logic just by reading the frames12:31:31
@raitobezarius:matrix.orgraitobezariusand if I fail, I will think about something else12:31:35
@raitobezarius:matrix.orgraitobezariusfound a nicer reproducer12:49:45
@raitobezarius:matrix.orgraitobezarius nix-instantiate --eval -E 'import ./. { system = "x86_64-darwin"; allowAliases = false; overlays = [ (self: super: { stdenv = super.stdenv.override {}; }) ]; }' 12:49:50
@raitobezarius:matrix.orgraitobezariusCppNix explodes immediately, Lix produces a result12:49:57
@emilazy:matrix.orgemily(nothing better than a language without semantics)12:51:55
@raitobezarius:matrix.orgraitobezariuslet's be even more precise12:52:06
@raitobezarius:matrix.orgraitobezarius nix-instantiate --eval -E 'import ./. { system = "x86_64-darwin"; allowAliases = false; overlays = [ (self: super: { stdenv = super.stdenv // { __bootPackages = throw "bye"; }; }) ]; }' also differs in evaluation 12:52:10
@raitobezarius:matrix.orgraitobezarius it feels like what trips up the __bootPackages is the series of asserts inside the darwin/default.nix entrypoint 12:52:40
@raitobezarius:matrix.orgraitobezariusbut I don't know if this needs to be forced to know the list of package names12:52:58
@raitobezarius:matrix.orgraitobezariusOn a conceptual level, no package name depends on the actual state of stdenv12:53:48
@raitobezarius:matrix.orgraitobezariusThere's no true evaluation bug because CppNix and Lix agrees that pkgs.pkgsExtraHardening.stdenv is cooked12:54:11
@raitobezarius:matrix.orgraitobezarius I don't have time to go deeper right now to pinpoint why the potential assert are thunked somehow in the eval machinery in Lix 12:54:44
@raitobezarius:matrix.orgraitobezariusI will open an issue on the Lix side and pass it to the rest of the core team12:54:53
@raitobezarius:matrix.orgraitobezarius I suggest that override is repaired and is tested wrt to presence of __bootPackages or that AvailabilityVersions do not assume its existence in stdenv because overridden stdenv exist 12:55:16
@raitobezarius:matrix.orgraitobezariusThis unblocks the current failure in Hydra12:55:32
@raitobezarius:matrix.orgraitobezarius release-checks should add something about .stdenv to the package set being evaluated 12:55:48
@raitobezarius:matrix.orgraitobezariusThis will make Lix flag this also unless we deem it to be a bug on our side and will converge to CppNix's evaluation behaviors12:56:04
@raitobezarius:matrix.orgraitobezarius but if I read https://edolstra.github.io/pubs/laziness-ldta2008-final.pdf 12:56:46
@raitobezarius:matrix.orgraitobezariusI read "maximal laziness"12:56:48
@raitobezarius:matrix.orgraitobezariusif Lix can produce a result here out of maximal laziness… :P12:56:55
@raitobezarius:matrix.orgraitobezarius * if Lix can produce a (correct) result here out of maximal laziness… :P 12:57:13
@raitobezarius:matrix.orgraitobezarius you can follow our discussions in https://zulip.lix.systems/#narrow/channel/6-Eval/topic/Laziness.20difference.20in.20Lix.202.2E94.2B.20vs.2E.20Lix.202.2E93/near/9924 12:59:34
* @raitobezarius:matrix.orgraitobezarius goes away13:00:24
@reckenrode:matrix.orgRandy Eckenrode I added a test for __bootPackages in my attempted fix PR. Once we get a fix in, then this can all go away on staging where I tear out this stuff that was only there to avoid rebuilds on master. 13:07:29
@raitobezarius:matrix.orgraitobezariusAwesome, tysm!13:07:39
@emilazy:matrix.orgemilyit would be nice to have a more minimal reproducer so it can be analysed as a language semantics question rather than a Nixpkgs constructs one13:16:44
@emilazy:matrix.orgemily(ofc not saying anyone is obligated to produce that)13:16:52
@vcunat:matrix.orgVladimír Čunát Merged staging-next. While the release-checks` on master suffers from multiple non-linux issues, it seems unrelated. 13:23:47

Show newer messages


Back to Room ListRoom Version: 6