Skip to content
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

build-remote: fix format string shenanigans #10325

Merged
merged 1 commit into from Mar 26, 2024

Conversation

K900
Copy link
Contributor

@K900 K900 commented Mar 26, 2024

HintFmt(string) invokes the HintFmt("%s", literal) constructor, which is not what we want here. Add a constructor with a proper name and call that.

Next step: rename all the other ones to HintFmt::literal(string).

Fixes #10238

Shoutout @lf- and @puckipedia for helping debug this.

Priorities and Process

Add 👍 to pull requests you find important.

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

HintFmt(string) invokes the HintFmt("%s", literal) constructor,
which is not what we want here. Add a constructor with a proper name
and call that.

Next step: rename all the other ones to HintFmt::literal(string).

Fixes NixOS#10238
@K900 K900 requested a review from edolstra as a code owner March 26, 2024 08:02
Copy link
Member

@thufschmitt thufschmitt left a comment

Choose a reason for hiding this comment

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

Eeeeh, that's a nasty one. Thanks!

@thufschmitt thufschmitt merged commit 0bf0191 into NixOS:master Mar 26, 2024
8 checks passed
@RaitoBezarius
Copy link
Member

Can we have a backport of this one in stable releases of Nix for Nixpkgs?

@thufschmitt thufschmitt added the backport 2.21-maintenance Automatically creates a PR against the branch label Mar 26, 2024
Copy link

Successfully created backport PR for 2.21-maintenance:

@thufschmitt
Copy link
Member

My bad, I though this hadn't made it to a release. Backport on its way

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.21-maintenance Automatically creates a PR against the branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Format error when talking to newer daemon with older client
3 participants