Skip to content

Remove mkSubmoduleOptions usages, document as deprecated#333

Merged
roberth merged 1 commit intomainfrom
start-removing-mkSubmoduleOptions
Jan 5, 2026
Merged

Remove mkSubmoduleOptions usages, document as deprecated#333
roberth merged 1 commit intomainfrom
start-removing-mkSubmoduleOptions

Conversation

@roberth
Copy link
Copy Markdown
Member

@roberth roberth commented Jan 5, 2026

The workaround is no longer needed since Nixpkgs 22.05 (NixOS/nixpkgs#156533).
Declaring options directly in a submodule works, e.g. options.flake.foo.

The function is kept for backwards compatibility but documented as deprecated.

The minimum supported Nixpkgs lib version is already 22.05, so this change does not drop support for any previously supported version.

Diff without whitespace

The workaround is no longer needed since Nixpkgs 22.05
(NixOS/nixpkgs#156533).
Declaring options directly in a submodule now works, e.g. `options.flake.foo`.

The function is kept for backwards compatibility but documented as deprecated.

The minimum supported Nixpkgs lib version is already 22.05, so this change
does not drop support for any previously supported version.
@roberth roberth merged commit 1e34f37 into main Jan 5, 2026
3 checks passed
@roberth roberth deleted the start-removing-mkSubmoduleOptions branch January 5, 2026 08:37
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.

1 participant