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

passthru-vendored.nix: add configurePhase to enable compatibility with crane #104

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

0xf09f95b4
Copy link
Contributor

@0xf09f95b4 0xf09f95b4 commented Jun 24, 2024

This PR adds compatibility with "crane" by simply adding the configurePhase to the phases in the vendored passthru for rust packages.

I currently cannot figure out why, but crane seems to require this phase to properly vendor all required dependencies into the target directory (even though the configurePhase is supposed to be empty).
EDIT: Maybe it's this.

In my surface-level tests this did not break compatibility with other nix build tools such as the standard buildRustPackage.

@nikstur nikstur merged commit 7772622 into nikstur:main Jun 24, 2024
1 check 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