diff options
author | Profpatsch <mail@profpatsch.de> | 2016-03-27 00:01:43 +0100 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2016-05-29 00:42:08 +0200 |
commit | 16c923cef2152d58878abac023816f05605c1f7d (patch) | |
tree | 5d61d394cf1d67577736557712f64dfe154860f9 /nixos/modules/system/boot/loader/grub/grub.nix | |
parent | 61f92ec5411f352a82a5a72656160cbeb76123b0 (diff) | |
download | nixlib-16c923cef2152d58878abac023816f05605c1f7d.tar nixlib-16c923cef2152d58878abac023816f05605c1f7d.tar.gz nixlib-16c923cef2152d58878abac023816f05605c1f7d.tar.bz2 nixlib-16c923cef2152d58878abac023816f05605c1f7d.tar.lz nixlib-16c923cef2152d58878abac023816f05605c1f7d.tar.xz nixlib-16c923cef2152d58878abac023816f05605c1f7d.tar.zst nixlib-16c923cef2152d58878abac023816f05605c1f7d.zip |
modules/mkRemovedOptionModule: add replacement doc
When displaying a warning about a removed Option we should always include reasoning why it was removed and how to get the same functionality without it. Introduces such a description argument and patches occurences (mostly with an empty string). startGnuPGAgent: further notes on replacement
Diffstat (limited to 'nixos/modules/system/boot/loader/grub/grub.nix')
-rw-r--r-- | nixos/modules/system/boot/loader/grub/grub.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/loader/grub/grub.nix b/nixos/modules/system/boot/loader/grub/grub.nix index 2e06a684f0cc..83fe84fa8d05 100644 --- a/nixos/modules/system/boot/loader/grub/grub.nix +++ b/nixos/modules/system/boot/loader/grub/grub.nix @@ -500,7 +500,7 @@ in imports = - [ (mkRemovedOptionModule [ "boot" "loader" "grub" "bootDevice" ]) + [ (mkRemovedOptionModule [ "boot" "loader" "grub" "bootDevice" ] "") (mkRenamedOptionModule [ "boot" "copyKernels" ] [ "boot" "loader" "grub" "copyKernels" ]) (mkRenamedOptionModule [ "boot" "extraGrubEntries" ] [ "boot" "loader" "grub" "extraEntries" ]) (mkRenamedOptionModule [ "boot" "extraGrubEntriesBeforeNixos" ] [ "boot" "loader" "grub" "extraEntriesBeforeNixOS" ]) |