lib/modules: fix typo
(cherry picked from commit e6f4614e8582e0ea11995a6756b7f25abbc391cc)release-18.03-flake
parent
39e76f5a34
commit
4d9d3cbfeb
|
@ -660,7 +660,7 @@ rec {
|
|||
doRename = { from, to, visible, warn, use }:
|
||||
let
|
||||
toOf = attrByPath to
|
||||
(abort "Renaming error: option `${showOption to}' does not exists.");
|
||||
(abort "Renaming error: option `${showOption to}' does not exist.");
|
||||
in
|
||||
{ config, options, ... }:
|
||||
{ options = setAttrByPath from (mkOption {
|
||||
|
|
Loading…
Reference in New Issue