Skip to content

itgmania: add new package scope for themes#501591

Open
ungeskriptet wants to merge 3 commits intoNixOS:masterfrom
ungeskriptet:itgmania-packages
Open

itgmania: add new package scope for themes#501591
ungeskriptet wants to merge 3 commits intoNixOS:masterfrom
ungeskriptet:itgmania-packages

Conversation

@ungeskriptet
Copy link
Member

These commits introduce a new package scope (itgmaniaPackages), which can be used to group together themes and other extensions for the game. To achieve configuring ITGmania declaratively, we can override the extraPackages argument of the ITGmania package using a list of packages. I had to wrap ITGmania with symlinkJoin to avoid rebuilding the entire package.

Can be tested using

nix-shell -p 'with import (builtins.fetchTarball "https://github.com/ungeskriptet/nixpkgs/archive/itgmania-packages.tar.gz") { }; itgmania.override { extraPackages = with itgmaniaPackages; [ arrowcloud-theme itg2-sm5 itg3encore zmod-simply-love ]; }' --run 'itgmania'

@rehtlaw Are there any other themes or extensions I should package for ITGmania?

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

@ungeskriptet ungeskriptet requested review from Maxwell-lt and ftsimas and removed request for Maxwell-lt March 20, 2026 11:12
I play this game as well and would like to adopt maintainership.

Signed-off-by: David Wronek <david.wronek@mainlining.org>
Signed-off-by: David Wronek <david.wronek@mainlining.org>
@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. labels Mar 20, 2026
@ungeskriptet ungeskriptet changed the title itgmania: add new package scope for themes, update to 1.2.0 itgmania: add new package scope for themes Mar 20, 2026
@rehtlaw
Copy link

rehtlaw commented Mar 20, 2026

@rehtlaw Are there any other themes or extensions I should package for ITGmania?

definitely add Digital-Dance

@ungeskriptet
Copy link
Member Author

@rehtlaw Are there any other themes or extensions I should package for ITGmania?

definitely add Digital-Dance

Done, thanks for the suggestion :)

Add a new package scope for ITGmania. Themes and other extensions can be
added here to allow configuring ITGmania declaratively using the
extraPackages argument.

Signed-off-by: David Wronek <david.wronek@mainlining.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants