Skip to content

pkgs/id: split dependency compilation out of the Nix build via crane - #12732

Open
dezren39 wants to merge 1 commit into
mainfrom
queue/20171-8574-id-crane-fresh
Open

dezren39 wants to merge 1 commit into
mainfrom
queue/20171-8574-id-crane-fresh

Conversation

@dezren39

@dezren39 dezren39 commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

Closes #8574

Summary

  • pkgs/id/flake.nix: pins crane (same rev as the code repo root lock) and adds craneLib plus an id-crane package.
  • pkgs/id/default.nix: two-tier build when craneLib is passed; monolithic fallback otherwise.

Verification


Prove it works
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@dezren39
dezren39 requested a review from a team as a code owner November 23, 2026 00:17
@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 7 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 91b6312a-4464-4d24-8e98-180901a9855c
Commits

Reviewing files that changed from the base of the PR and between a888755 and 491030e.

Files ignored due to path filters: 1

  • pkgs/id/flake.lock is excluded by !**/*.lock
Files selected for processing: 2

  • pkgs/id/default.nix
  • pkgs/id/flake.nix
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Adds a crane-based id-crane package (pkgs/id/default.nix two-tier build
when craneLib is passed; monolithic fallback otherwise). Registry/git
deps become their own derivation so workspace-source changes rebuild
only the package derivation.

Closes #8574
@dezren39
dezren39 force-pushed the queue/20171-8574-id-crane-fresh branch from c825253 to 491030e Compare November 23, 2026 03:08
@dezren39
dezren39 removed the request for review from a team November 23, 2026 05:56

This branch has not been deployed

No deployments
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.

pkgs/id: split dependency compilation out of the Nix build with crane (code#8392 follow-up)

1 participant