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

Git workspaces #1

Open
wants to merge 18 commits into
base: cross-compile-2024-09-25
Choose a base branch
from
Open

Conversation

martinjlowm
Copy link
Member

No description provided.

marius851000 and others added 17 commits September 19, 2023 12:22
It has a fairly narrow range of libgit2 versions it will accept from the
system environment, so instead of manually providing a recent-enough
version from nixpkgs-unstable, or downgrading the rust crate until the
available version matches, we allow it to build its preferred version.
When copying out workspace member crates from a larger workspace,
cargo will not be able to process the separated manifest if it still
refers to e.g. the workspace license or workspace dependencies, because
it can't find the workspace manifest.

We can't help it find the workspace manifest, because crates in a cargo
vendor directory aren't discovered recursively, and cargo doesn't resolve
symlinks before checking the ancestors to find the workspace manifest.
- workspaceSrc is nullable - we should assert its existence if we consider it a
hard requirement
- prefetch fails because Nix is not installed in the Nix environment when
generating Cargo.nix
@martinjlowm martinjlowm changed the base branch from master to cross-compile-2024-09-25 November 5, 2024 14:41
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.

6 participants