about summary refs log tree commit diff
path: root/lib/modules.nix
diff options
context:
space:
mode:
authorRobert Helgesson <robert@rycee.net>2020-10-22 20:28:22 +0200
committerRobert Helgesson <robert@rycee.net>2020-10-24 23:01:01 +0200
commite0fa72d04d75f7d7e5a0b3d45a69825f209589f9 (patch)
tree4b77ff461290ced3866aa503c054ab0a3e03ff7d /lib/modules.nix
parent94819fdb5f0b624fd4e8233a064c0eaa1479c170 (diff)
downloadnixlib-e0fa72d04d75f7d7e5a0b3d45a69825f209589f9.tar
nixlib-e0fa72d04d75f7d7e5a0b3d45a69825f209589f9.tar.gz
nixlib-e0fa72d04d75f7d7e5a0b3d45a69825f209589f9.tar.bz2
nixlib-e0fa72d04d75f7d7e5a0b3d45a69825f209589f9.tar.lz
nixlib-e0fa72d04d75f7d7e5a0b3d45a69825f209589f9.tar.xz
nixlib-e0fa72d04d75f7d7e5a0b3d45a69825f209589f9.tar.zst
nixlib-e0fa72d04d75f7d7e5a0b3d45a69825f209589f9.zip
docs: update documentation of `mkRemovedOptionModule`
Since b08b0bcbbec77046e5a7082177cedc12fbf1dc6c, the function actually
causes an assertion error, not a warning.
Diffstat (limited to 'lib/modules.nix')
-rw-r--r--lib/modules.nix2
1 files changed, 1 insertions, 1 deletions
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" ] "<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,