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

fix(vendor): declare build.rs as included file in Cargo.toml #2204

Merged
merged 1 commit into from
Nov 23, 2023

Conversation

ad0
Copy link
Contributor

@ad0 ad0 commented Nov 23, 2023

What does this PR do

It adds the file build.rs to the package included files in Cargo.toml. Without it, when vendoring a project that depends on nix, build.rs is not added in vendor cache, then macos targets are broken since the cfg_aliases configuration added in #2169 is missing.

Checklist:

  • I have read CONTRIBUTING.md
  • I have written necessary tests and rustdoc comments
  • A change log has been added if this PR modifies nix's API

Copy link
Member

@asomers asomers left a comment

Choose a reason for hiding this comment

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

Thanks for the fix! And thanks for finding it before it made it into a release.

@asomers asomers added this pull request to the merge queue Nov 23, 2023
@ad0
Copy link
Contributor Author

ad0 commented Nov 23, 2023

No problem, I'm glad it can be fixed before the next release!

Merged via the queue into nix-rust:master with commit 15fb517 Nov 23, 2023
34 checks passed
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