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

Decouple self-dependencies and impl lib.mkRustBin interface #177

Merged
merged 6 commits into from
Jun 3, 2024

Conversation

oxalica
Copy link
Owner

@oxalica oxalica commented Jun 3, 2024

Try 2 of previously reverted PR #124

They are not part of our public interfaces and must not be imported
alone.
Clean up entangled self-references and make inputs explicit through
arguments.
This allows construction of `rust-bin` attrset on an existing `pkgs`,
instead of staging another overlayed nixpkgs. This can reduce redundant
evaluation of nixpkgs for flake-heavy users who also don't like or
cannot (due to flake dependency hell) manually instantiate nixpkgs.
@oxalica oxalica force-pushed the feat/mk-rust-bin branch 2 times, most recently from 27f76c9 to 1611add Compare June 3, 2024 08:56
@oxalica oxalica merged commit 711ff40 into master Jun 3, 2024
30 checks passed
@oxalica oxalica deleted the feat/mk-rust-bin branch June 3, 2024 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant