Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "lib/modules: disallow setting config, options in specialArgs of evalModules" #391017

Merged
merged 1 commit into from
Mar 18, 2025

Conversation

hsjobeki
Copy link
Contributor

@hsjobeki hsjobeki commented Mar 18, 2025

Reverts #388834

Unfortunately the option docs generator passes options in specialArgs and that broke.

This wasn't caught by CI. It seems the documentation was not built. That would have revealed the problem early

cc
@Mic92 @infinisil

@eclairevoyant can you re-create the PR original only for config ? It seems forbidding to pass options in specialArgs must be considered in a follow up pr.

@github-actions github-actions bot added 6.topic: module system About "NixOS" module system internals 6.topic: lib The Nixpkgs function library labels Mar 18, 2025
@nix-owners nix-owners bot requested review from roberth and infinisil March 18, 2025 17:05
@hsjobeki hsjobeki merged commit 539ef0f into master Mar 18, 2025
36 of 40 checks passed
@khaneliman khaneliman mentioned this pull request Mar 18, 2025
13 tasks
@wolfgangwalther wolfgangwalther deleted the revert-388834-no-config-in-special-args branch March 18, 2025 17:47
@eclairevoyant
Copy link
Contributor

No, I can't.

specialArgs = {
inherit config pkgs utils;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants