From e0fa72d04d75f7d7e5a0b3d45a69825f209589f9 Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Thu, 22 Oct 2020 20:28:22 +0200 Subject: [PATCH] docs: update documentation of `mkRemovedOptionModule` Since b08b0bcbbec77046e5a7082177cedc12fbf1dc6c, the function actually causes an assertion error, not a warning. --- lib/modules.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/modules.nix b/lib/modules.nix index df3a2ad17e5f..103a22ed1312 100644 --- a/lib/modules.nix +++ b/lib/modules.nix @@ -719,7 +719,7 @@ rec { mkRemovedOptionModule [ "boot" "loader" "grub" "bootDevice" ] "" - 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,