-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Give Store::queryDerivationOutputMap
and evalStore
argument
#9588
Give Store::queryDerivationOutputMap
and evalStore
argument
#9588
Conversation
61dd401
to
ba5349c
Compare
Need backport of NixOS/nix#9588 too Flake lock file updates: • Updated input 'nix': 'github:NixOS/nix/c4a5f409f167af133b9d917d4c1c23f3f13de06c' (2023-12-09) → 'github:obsidiansystems/nix/f49fd6896a409eaeb9a1169f583143e792920b5f' (2023-12-11)
N.B. thufschmitt/hydra#2 Fixed up Hydra CA supporting using (a backport of) this. |
Needs tests. The best approach may be to provide a mode to run the test suite with a separate eval store. |
The |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No changes to non-experimental behavior.
Merging to unblock other work, which will include tests, such as #9589.
@@ -604,7 +604,7 @@ void DerivationGoal::inputsRealised() | |||
return *outPath; | |||
} | |||
else { | |||
auto outMap = worker.evalStore.queryDerivationOutputMap(depDrvPath); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small change to CA behavior. Ignores store
from now on.
This is in an experimental feature, relating to an already known-broken non-experimental feature.
@Ericson2314 continues to work on this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No longer contains this change!
Picking up where NixOS#9563 left off.
ba5349c
to
5f30c8a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No behavioral change. Will be tested as mentioned.
Merging to unblock other work.
Successfully created backport PR for |
…putMap-evalStore Give `Store::queryDerivationOutputMap` and `evalStore` argument (cherry picked from commit 8cddda4) Change-Id: I394e7e11c3f2e0cd3dbe0f48d757c14c09835e44
Motivation
Picking up where #9563 left off.
Context
Priorities
Add 👍 to pull requests you find important.