Skip to content

Conversation

@Ericson2314
Copy link
Member

Motivation

This does some more simplifications/improvements after #14280 fixed the bug.

The first commit is no behavior change, and just simplifies the control flow.

The second commit I believes improves behavior by ensuring that we also call optimisePath in the repair case, while still not unnecessarily doing it in the already-built case.

Context

#14280


Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

This is the exact same control flow, but with one less branch because it
becomes redundant.
@Ericson2314 Ericson2314 requested a review from xokdvium October 17, 2025 03:06
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