Change:
We found (because it broke our build in Lix) that the following nixpkgs lib test is broken. It is run through some derivation in the test suite somewhere; finding that is an exercise to the reader, but it is included underneath somewhere. Run the following on any platform; it has been observed with this command on aarch64-darwin and x8664-linux: Then you will get an infinite output deepening like the following: Eventually it will segfault or otherwise exceed the recursion limit. We checked that this reproduces on Lix , Nix 2.18, and Nix 2.22, so it is not a Nix implementation bug for any reasonable value of "nix implementation". Steps to reproduce the behavior: the above command from a checkout of nixpkgs. ??? overflow! We don't think this is a regression from , but instead, that broken stuff was exposed as broken by actually running it on other platforms than x8664-linux. Evaluate as normal as is the case for other values of . If applicable, add screenshots to help explain your problem. Add any other context about the problem here. Not really a maintainers list as I don't see one, but people who touched the file or the infra recently: Please run and paste the result. Note that this is not a Lix bug. system: host os: multi-user?: sandbox: version: channels(jade): nixpkgs: Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
Since I have aarch64-darwin and aarch64-linux and I exposed this, I'll take a look at this tonight.
Please try with , I was able to use that command until I got:
Perhaps also check that this feature. You might need to sprinkle some more in a similar way
Thank you for mentioning that, I got it to pass on Darwin

Discussion:
, prepend ? [] # Whether to wrap the initramfs in a u-boot image. <del> , makeUInitrd ? stdenvNoCC.hostPlatform.linux-kernel.target == "uImage" </del> <ins> , makeUInitrd ? stdenvNoCC.hostPlatform.linux-kernel.target or "dummy" == "uImage" </ins> # If generating a u-boot image, the architecture to use. The default # guess may not align with u-boot's nomenclature correctly, so it can

toValidStoreName = x: with builtins; lib.concatStringsSep "-" (filter (x: !(isList x)) (split "[^a-zA-Z0-9_=.?-]+" x)); <del> in stdenvNoCC.mkDerivation rec { </del> <ins> in stdenvNoCC.mkDerivation (rec { </ins> inherit name makeUInitrd extension uInitrdArch prepend; <del> ${if makeUInitrd then "uInitrdCompression" else null} = uInitrdCompression; </del> builder = ./make-initrd.sh; nativeBuildInputs = [ perl libarchive ]

contents (lib.range 0 (lib.length contents - 1)); pathsFromGraph = ./paths-from-graph.pl; <del> } </del> <ins> } // lib.optionalAttrs makeUInitrd { uInitrdCompression = uInitrdCompression; }) </ins>

in { <ins> # Disable on Darwin due to assumptions with __bootPackages __attrsFailEvaluation = stdenv.isDarwin; </ins> # tests for hooks in `stdenv.defaultNativeBuildInputs` hooks = lib.recurseIntoAttrs (import ./hooks.nix { stdenv = bootStdenv; pkgs = earlyPkgs; inherit lib; });

pkgsMusl = true; pkgsStatic = true; pkgsCross = true; <ins> pkgsx86_64Darwin = true; </ins> pkgsi686Linux = true; pkgsLinux = true; pkgsExtraHardening = true;

override = true; __functor = true; __functionArgs = true; <ins> __splicedPackages = true; </ins> newScope = true; scope = true; pkgs = true; <ins> test-pkgs = true; </ins> buildHaskellPackages = true; buildPackages = true;