Skip to content

Add -Wundef and fix public headers#12931

Merged
Mic92 merged 3 commits intoNixOS:masterfrom
roberth:add-Wundef-and-fix-public-headers
Apr 5, 2025
Merged

Add -Wundef and fix public headers#12931
Mic92 merged 3 commits intoNixOS:masterfrom
roberth:add-Wundef-and-fix-public-headers

Conversation

@roberth
Copy link
Copy Markdown
Member

@roberth roberth commented Apr 4, 2025

Motivation

Context

I am not happy about the second commit, but it seems to work.
Surely there's a better way to use a public header in a meson subprojects setup??


Add 👍 to pull requests you find important.

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

This commit has all the straightforward stuff.
@github-actions github-actions bot added new-cli Relating to the "nix" command store Issues and pull requests concerning the Nix store labels Apr 4, 2025
@roberth roberth force-pushed the add-Wundef-and-fix-public-headers branch from 3803040 to 75c565e Compare April 4, 2025 23:00
@roberth roberth force-pushed the add-Wundef-and-fix-public-headers branch from 75c565e to ba89da8 Compare April 4, 2025 23:05
@roberth roberth added the backport 2.28-maintenance Automatically creates a PR against the branch label Apr 4, 2025
@roberth roberth mentioned this pull request Apr 4, 2025
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This is the weird symlink that makes local development work. It gets copied into build and then points to the correct, generated file.

Copy link
Copy Markdown
Member

@cole-h cole-h left a comment

Choose a reason for hiding this comment

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

Thanks, confirmed it fixes the test and trying to use an s3:// store on the CLI doesn't break!

@Mic92 Mic92 merged commit cf5e599 into NixOS:master Apr 5, 2025
12 checks passed
mergify bot added a commit that referenced this pull request Apr 5, 2025
…2931

Add `-Wundef` and fix public headers (backport #12931)
@Ericson2314
Copy link
Copy Markdown
Member

Curious about the second commit!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport 2.28-maintenance Automatically creates a PR against the branch new-cli Relating to the "nix" command store Issues and pull requests concerning the Nix store

Projects

None yet

Development

Successfully merging this pull request may close these issues.

S3 stores and s3-binary-cache-store test are broken

4 participants