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

Inline workspace-level directives to make Crane happy. #168

Merged
merged 1 commit into from
Nov 14, 2023

Conversation

SamirTalwar
Copy link
Contributor

What

Crane does not properly inline workspace-level directives in all situations, which means that the version information is not available to it once it's constructed a derivation for each crate.

This becomes an issue once we use ndc-postgres as a library.

How

We can work around this problem by not using workspace-level directives, copying and pasting the information instead.

Crane does not properly inline workspace-level directives in all
situations, which means that the version information is not available to
it once it's constructed a derivation for each crate.

This becomes an issue once we use ndc-postgres as a library.

We can work around this problem by not using workspace-level directives,
copying and pasting the information instead.
Copy link
Contributor

@soupi soupi left a comment

Choose a reason for hiding this comment

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

Bummer.

@SamirTalwar
Copy link
Contributor Author

FWIW I tried to debug it in Crane and got very lost.

@SamirTalwar SamirTalwar added this pull request to the merge queue Nov 14, 2023
Merged via the queue into main with commit 991f25f Nov 14, 2023
26 checks passed
@SamirTalwar SamirTalwar deleted the samirtalwar/inline-workspace branch November 14, 2023 09:28
SamirTalwar added a commit that referenced this pull request Feb 27, 2024
SamirTalwar added a commit that referenced this pull request Feb 27, 2024
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.

3 participants