Describe the bug
I'm on a flake-based system with NixOS 23.05 on a x86_64 machine.
I have a reproducible bug that came in very lately in NixOS 23.05 stable. When opening a nix-shell in a specific project, the nix-shell itself creates a pkgs.buildFHSUserEnv with many inputs and end's up with the following error:

It's hard to create a minimal example and I can't provide you the original nix-shell as it relies on some company-internal Nix files.
I know that rev 5a237ae (nixos-23.05 branch) from October 7th works and the NixOS 23.05 branch head from October 18th doesn't work. I verified that the issue is not caused by the Linux kernel update from 6.5.5 to 6.5.7. I think it's glibc or another very basic component.
I tried to do some kind of "manual bisecting" by going commit by commit through the log and build my NixOS system based on that nixpkgs version, but this failed as my system tried to build like everything from nixpkgs, i.e., all the derivations aren't cached (anymore).
Steps To Reproduce
I'm sorry that I can't provide a real reproducer now due to the limitations mentioned above.
Expected behavior
A normal nix-shell should open.
Screenshots

Additional context
None.
Notify maintainers
Not sure who is in charge as it is not clear what the problem is.
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
- system: `"x86_64-linux"`
- host os: `Linux 6.1.58, NixOS, 23.05 (Stoat), 23.05.20231017.b5f8ec6`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.13.5`
- channels(pschuster): `""`
- channels(root): `""`
- nixpkgs: `/nix/store/37yxpbic78zskxf2di9nbkf0673gjh1p-source`
Describe the bug
I'm on a flake-based system with NixOS 23.05 on a x86_64 machine.
I have a reproducible bug that came in very lately in NixOS 23.05 stable. When opening a nix-shell in a specific project, the nix-shell itself creates a
pkgs.buildFHSUserEnvwith many inputs and end's up with the following error:It's hard to create a minimal example and I can't provide you the original nix-shell as it relies on some company-internal Nix files.
I know that rev 5a237ae (nixos-23.05 branch) from October 7th works and the NixOS 23.05 branch head from October 18th doesn't work. I verified that the issue is not caused by the Linux kernel update from
6.5.5to6.5.7. I think it's glibc or another very basic component.I tried to do some kind of "manual bisecting" by going commit by commit through the log and build my NixOS system based on that nixpkgs version, but this failed as my system tried to build like everything from nixpkgs, i.e., all the derivations aren't cached (anymore).
Steps To Reproduce
I'm sorry that I can't provide a real reproducer now due to the limitations mentioned above.
Expected behavior
A normal nix-shell should open.
Screenshots
Additional context
None.
Notify maintainers
Not sure who is in charge as it is not clear what the problem is.
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"and paste the result.