-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Content addressing store objects #10722
Conversation
d922cf6
to
f18cb05
Compare
e0c9e21
to
dbbbf3a
Compare
}, | ||
[&](const DerivationOutput::Deferred &) {}, | ||
[&](const DerivationOutput::Impure & doi) { | ||
res["hashAlgo"] = std::string { doi.method.renderPrefix() } + printHashAlgo(doi.hashAlgo); | ||
res["method"] = std::string { doi.method.render() }; | ||
res["hashAlgo"] = printHashAlgo(doi.hashAlgo); | ||
res["impure"] = true; | ||
}, | ||
}, raw); |
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.
Wasn't expecting a behavior change.
Is DerivationOutput JSON exposed to builds? That'd be a problem if so.
Otherwise, please add a release note.
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.
thought: We should have JSON schemas.
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.
It is not exposed to builds, thankfully. Just the CLI. (You are thinking of the path-info
JSON.)
The JSON format no longer uses the legacy ATerm `r:` prefixing nonsese, but separate fields. Progress on NixOS#9866 Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
Motivation
Also, the JSON format no longer uses the legacy ATerm
r:
prefixing nonsense, but separate fields.Context
Next item from #6877. Following up on #10479.
Progress on #9866
Priorities and Process
Add 👍 to pull requests you find important.
The Nix maintainer team uses a GitHub project board to schedule and track reviews.