Skip to content

[Backport 2.21-maintenance] nix shell: Handle output paths that are symlinks#10529

Merged
thufschmitt merged 3 commits into2.21-maintenancefrom
backport-10467-to-2.21-maintenance
Apr 17, 2024
Merged

[Backport 2.21-maintenance] nix shell: Handle output paths that are symlinks#10529
thufschmitt merged 3 commits into2.21-maintenancefrom
backport-10467-to-2.21-maintenance

Conversation

@github-actions
Copy link

Automatic backport to 2.21-maintenance, triggered by a label in #10467.

This requires moving resolveSymlinks() into SourceAccessor. Also, it
requires LocalStoreAccessor::maybeLstat() to work on parents of the
store (to avoid an error like "/nix is not in the store").

Fixes #10375.

(cherry picked from commit 85b9f4e)
(cherry picked from commit 9d50f57)
@thufschmitt thufschmitt reopened this Apr 17, 2024
@thufschmitt thufschmitt enabled auto-merge April 17, 2024 13:25
@github-actions github-actions bot added new-cli Relating to the "nix" command with-tests Issues related to testing. PRs with tests have some priority store Issues and pull requests concerning the Nix store labels Apr 17, 2024
@thufschmitt thufschmitt merged commit 93e8660 into 2.21-maintenance Apr 17, 2024
@thufschmitt thufschmitt deleted the backport-10467-to-2.21-maintenance branch April 17, 2024 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-cli Relating to the "nix" command 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.

2 participants