docs: update documentation of `mkRemovedOptionModule`

Since b08b0bcbbe, the function actually
causes an assertion error, not a warning.
wip/yesman
Robert Helgesson 4 years ago
parent 94819fdb5f
commit e0fa72d04d
No known key found for this signature in database
GPG Key ID: 36BDAA14C2797E89
  1. 2
      lib/modules.nix

@ -719,7 +719,7 @@ rec {
mkRemovedOptionModule [ "boot" "loader" "grub" "bootDevice" ] "<replacement instructions>"
causes a warning if the user defines boot.loader.grub.bootDevice.
causes a assertion if the user defines boot.loader.grub.bootDevice.
replacementInstructions is a string that provides instructions on
how to achieve the same functionality without the removed option,

Loading…
Cancel
Save