Navigation Menu

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

mkRemovedOptionModule: assert on removed options #69419

Merged
merged 1 commit into from Sep 30, 2019

Conversation

globin
Copy link
Member

@globin globin commented Sep 25, 2019

We don't want to ignore config that can mess up machines. In general
this should always fail evaluation, as you think you are changing
behaviour and don't, which can easily create run-time errors we can
catch early.

cc @disassembler @lheckemann @grahamc @fpletz @samueldr @flokli @arianvp

PS. Those options.assertions passthroughs are weird submodule cases.

lib/modules.nix Outdated Show resolved Hide resolved
We don't want to ignore config that can mess up machines. In general
this should always fail evaluation, as you think you are changing
behaviour and don't, which can easily create run-time errors we can
catch early.
Copy link
Member

@infinisil infinisil left a comment

Choose a reason for hiding this comment

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

Looking good, tested and it works

@infinisil infinisil merged commit c75a18f into NixOS:master Sep 30, 2019
@globin globin deleted the mkremovedoptionmodule-assert branch September 30, 2019 14:40
@infinisil
Copy link
Member

See also my #69746 for improving mkRemovedOptionModule some more, which I think is ready for merging

@lheckemann
Copy link
Member

19.09: 00f495f

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.

None yet

3 participants