-
-
Notifications
You must be signed in to change notification settings - Fork 17.4k
lib/tests: Use --option to enable abort-on-warn #468901
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
Conversation
|
Weird, I made it intentionally compatible with the old |
lf-
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah this looks good to me.
I know you did, but we want to get rid of environment variables, and the Lix implementation of builtins.warn isn't going to support the legacy environment variable. |
|
Ok I guess |
it doesn't. |
|
This would also need a backport to 25.11 |
|
Successfully created backport PR for |
Correctly set the
abort-on-warnoption in the modules.sh tests.Note that
checkConfigError 'The deprecated.*functor.wrappedattribute .*is accessed, use.*nestedTypes.elemTypeinstead.' options.attrsWith.type.functor.wrapped ./deprecated-wrapped.nixstill errors out whenabort-on-warn = falsebecause it tries to serialize thunks (and if forced would serialize lambdas)Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.Add a 👍 reaction to pull requests you find important.