Skip to content

[Backport 2.32-maintenance] libstore/registerOutputs: Don't try to optimize a non-existent actual…#14280

Merged
internal-nix-ci[bot] merged 1 commit into2.32-maintenancefrom
backport-14276-to-2.32-maintenance
Oct 16, 2025
Merged

[Backport 2.32-maintenance] libstore/registerOutputs: Don't try to optimize a non-existent actual…#14280
internal-nix-ci[bot] merged 1 commit into2.32-maintenancefrom
backport-14276-to-2.32-maintenance

Conversation

@internal-nix-ci
Copy link

Automatic backport to 2.32-maintenance, triggered by a label in #14276.

…Path

Since 3c610df this resulted in `getting status of`
errors on paths inside the chroot if a path was already valid. Careful inspection
of the logic shows that if buildMode != bmCheck actualPath gets reassigned to
store.toRealPath(finalDestPath). The only branch that cares about actualPath is
the buildMode == bmCheck case, which doesn't lead to optimisePath anyway.

(cherry picked from commit 4cbcaad)
@internal-nix-ci internal-nix-ci bot merged commit 4a27d70 into 2.32-maintenance Oct 16, 2025
19 checks passed
@internal-nix-ci internal-nix-ci bot deleted the backport-14276-to-2.32-maintenance branch October 16, 2025 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants