8000 refactor code generation by figsoda · Pull Request #841 · nix-community/nix-init · GitHub
[go: up one dir, main page]

refactor code generation - #841

Merged
figsoda merged 1 commit into
mainfrom
push-rzkpynzpmzor
Jul 25, 2026
Merged

figsoda merged 1 commit into
mainfrom
push-rzkpynzpmzor

Conversation

@figsoda
@figsoda figsoda commented Jul 25, 2026 •
Copy link
Copy Markdown
Member

move a bunch of stuff out of main.rs into the codegen directory, with some small behavioral changes

  • the lambda input rustPlatform now comes before native build inputs when cargoDeps is present, since rustPlatform.fetchCargoTarball comes before nativeBuildInputs

  • inherit (zig.meta) platforms; is replaced with platforms = lib.platforms.all;, they are basically the same and the latter is simpler to implement with the refactor

@figsoda
figsoda force-pushed the push-rzkpynzpmzor branch from ce872a8 to 861e330 Compare July 25, 2026 17:50
@figsoda
figsoda force-pushed the push-rzkpynzpmzor branch from 861e330 to 864cdae Compare July 25, 2026 17:50
@eveeifyeve
eveeifyeve commented Jul 25, 2026 •
Copy link
Copy Markdown
Member

This is the pr, I have been waiting!

@figsoda
figsoda merged commit 43211b7 into main Jul 25, 2026
3 checks passed
@figsoda
figsoda deleted the push-rzkpynzpmzor branch July 25, 2026 18:26
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

0