Skip to content

[Backport 2.35-maintenance] libexpr: Don't leak output of SourceAccessor::showPath in eval - #16787

Merged
internal-nix-ci[bot] merged 5 commits into
2.35-maintenancefrom
backport-16780-to-2.35-maintenance
Nov 8, 2026
Merged

internal-nix-ci[bot] merged 5 commits into
2.35-maintenancefrom
backport-16780-to-2.35-maintenance

Conversation

@internal-nix-ci

Copy link
Copy Markdown

Automatic backport to 2.35-maintenance, triggered by a label in #16780.

showPath (called from SourcePath::to_string()) is now primarily meant
only for legible source locations in error messages and such.

See #16550.

Also hack around lazy paths issue with `nix run` when the program is
a "mounted" path by stuffing back opaque string context.

(cherry picked from commit 92a3611)
They pollute the logs way too much and provide little useful context.

(cherry picked from commit 0845028)
@internal-nix-ci
internal-nix-ci Bot enabled auto-merge November 8, 2026 21:06
@github-actions github-actions Bot added with-tests Issues related to testing. PRs with tests have some priority store Issues and pull requests concerning the Nix store labels Nov 8, 2026
@internal-nix-ci
internal-nix-ci Bot merged commit 251f9fd into 2.35-maintenance Nov 8, 2026
16 checks passed
@internal-nix-ci
internal-nix-ci Bot deleted the backport-16780-to-2.35-maintenance branch November 8, 2026 21:38
m0nhawk pushed a commit to m0nhawk/nixpkgs that referenced this pull request Nov 10, 2026
This is mostly an installer regression fix release, although it also includes [1],
which addresses regressions from 2.32 and 2.35 related to "lazy-ish" paths.

[1]: NixOS/nix#16787
nixos-cuda-channel-updater Bot pushed a commit to nixos-cuda/nixpkgs that referenced this pull request Nov 10, 2026
This is mostly an installer regression fix release, although it also includes [1],
which addresses regressions from 2.32 and 2.35 related to "lazy-ish" paths.

[1]: NixOS/nix#16787

(cherry picked from commit 5364d7e)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

store Issues and pull requests concerning the Nix store with-tests Issues related to testing. PRs with tests have some priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant