Skip to content

Conversation

Ericson2314
Copy link
Member

Motivation

See each commit for details.

Context

Overall goal is #13570, which #13942 will fix. Since that one has some back-compat subtitles, I want to land the prep work first.


Add 👍 to pull requests you find important.

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

This is because we need it in declarations where we should not be
including the full `nlohmann/json.hpp`.

Already can clean up by moving the experimental feature "instance".

Also, make the `std::map` instance better by allowing for other
comparison functions.
Wrong number of arguments was causing a format assertion.
Copy link
Contributor

@xokdvium xokdvium left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just test changes and moving code around. SGTM

Comment on lines +153 to +154
throw BadHash(
"invalid %s hash '%s', length %d != expected length %d", pair.encodingName, rest, d.size(), res.hashSize);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This reminds me that I should dig up my std::format migration tool

@Ericson2314 Ericson2314 merged commit 1710fd0 into NixOS:master Sep 13, 2025
14 checks passed
@Ericson2314 Ericson2314 deleted the prep-json-0 branch September 13, 2025 03:32
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