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 crate vendoring to not run the default fixup phase #619

Merged
merged 4 commits into from
May 19, 2024
Merged

Fix crate vendoring to not run the default fixup phase #619

merged 4 commits into from
May 19, 2024

Conversation

ipetkov
Copy link
Owner

@ipetkov ipetkov commented May 19, 2024

Motivation

Fixes #618

Checklist

  • added tests to verify new behavior
  • added an example template or updated an existing one
  • updated docs/API.md (or general documentation) with changes
  • updated CHANGELOG.md

ipetkov added 4 commits May 19, 2024 14:22
The fixup phase will move things around, for example, if the source
directory happens to have a directory named `doc` it will get moved
under `$out/share`. Generally speaking, there shouldn't be anything to
fixup since this is just a 1-1 unpacking of the source tarball (with the
addition of a checksum file)
The fixup phase will move things around, for example, if the source
directory happens to have a directory named `doc` it will get moved
under `$out/share`. Generally speaking, there shouldn't be anything to
fixup since this is just a 1-1 unpacking of the source tarball (with the
addition of a checksum file)
Unpacking in the current directory means we end up installing extra
things managed by the build environment (like the `env-vars` file).
Unpacking to a fresh directory (and then changing the source root)
before installing avoids this.
@ipetkov ipetkov enabled auto-merge (squash) May 19, 2024 21:32
@ipetkov ipetkov merged commit b7a1655 into master May 19, 2024
19 checks passed
@ipetkov ipetkov deleted the fix branch May 19, 2024 21:59
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.

aquamarine crate fails to build since vendorCargoDeps gained overrides
1 participant