Files
lix/doc/manual/rl-next/added-shell-dir-length.md
T
Raito Bezarius 5789f4b0a9 manual/rl-next: fine-tune the release notes
Follow up of https://gerrit.lix.systems/c/lix/+/5346?tab=comments for
the obvious pieces.

Change-Id: If0f640f786b0778d016187cb24c0513a48b5a30b
Signed-off-by: Raito Bezarius <raito@lix.systems>
2026-03-10 17:09:22 +00:00

842 B

synopsis, cls, issues, category, credits
synopsis cls issues category credits
Nix shells' `$NIX_BUILD_TOP` are shorter
4663
fj#1044
Fixes
raito

Following the changes in 2.94.0 to shorten build directory paths, aimed at resolving UNIX domain socket length issues and improving nix-shell, we inadvertently introduced an excessively long path for the $NIX_BUILD_TOP environment variable used by Nix shells (their effective temporary /build directory).

To fix this, we replaced the build-top-$HASH directory name with simply build-top, reducing these paths by at least 30 characters.

We also added a test to ensure that Nix shells do not introduce more than 50 extra characters relative to their base directory (e.g., /tmp when $TMPDIR is not set).