Skip to content

make trivial template multi-arch while keeping it trivial - #103

Merged
tomberek merged 1 commit into
NixOS:masterfrom
tfc:master
Aug 5, 2026
Merged

make trivial template multi-arch while keeping it trivial#103
tomberek merged 1 commit into
NixOS:masterfrom
tfc:master

Conversation

@tfc

@tfc tfc commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

The existing flake template is not really in the form in which anyone would want to use it productively because of its single-arch form. It invites to use tools like flake-utils and flake-parts which are overkill if what you need is only more architectures.

Hence i propose this pull request which uses flakes in a way that are actually quite elegant (learned this trick from @tomberek).
And it automatically supports all the architectures that are already supported in nixpkgs, which i would call the official list of architectures.

I am also aware of PR #93 but share the opinion that the trivial flake should remain trivial.

(already ran nixfmt on it)

@roberth roberth left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

elegant

@tomberek
tomberek merged commit 11bd3a2 into NixOS:master Aug 5, 2026
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.

3 participants