Skip to content

Split DerivationGoal in two #13181

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Ericson2314
Copy link
Member

@Ericson2314 Ericson2314 commented May 14, 2025

Motivation

This separation of concerns is generally good, but in particular sets up for removing addWantedOutputs next.

The one regression it introduces is "upgrading" to all wanted output when a CA derivation is resolved but then substituted. That is not good, but content-addressing derivations are unstable, so I rather not block this. I am happy to fix that later, once this is done.

Context


Add 👍 to pull requests you find important.

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

@Ericson2314 Ericson2314 requested a review from edolstra as a code owner May 14, 2025 05:12
@github-actions github-actions bot added documentation with-tests Issues related to testing. PRs with tests have some priority labels May 14, 2025
This was referenced May 14, 2025
@Ericson2314 Ericson2314 force-pushed the derivation-building-goal branch 2 times, most recently from a3b8b88 to c45bd9b Compare May 15, 2025 17:41
@ConnorBaker
Copy link
Contributor

Is there an issue/do you plan to create something for the content addressed derivation regression you mentioned so it doesn't get lost?

@Ericson2314
Copy link
Member Author

Yes once this is merged I would create an issue. I think the solution will fall out of the fix for #11928 (a separate, preexisitng issue), which is nice!

Copy link

dpulls bot commented May 20, 2025

🎉 All dependencies have been resolved !

Same technique as 6c2a7fd.
This separation of concerns is generally good, but in particular sets up
for removing `addWantedOutputs` next.
@Ericson2314 Ericson2314 force-pushed the derivation-building-goal branch from c45bd9b to 3b617e4 Compare May 20, 2025 15:57
@github-project-automation github-project-automation bot moved this to To triage in Nix team May 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation with-tests Issues related to testing. PRs with tests have some priority
Projects
Status: To triage
Development

Successfully merging this pull request may close these issues.

2 participants