From 4f802d935ca444a51ae83d45baa42c2a27a9c683 Mon Sep 17 00:00:00 2001 From: Johannes Kirschbauer Date: Mon, 18 Aug 2025 08:01:24 +0200 Subject: [PATCH] lib/modules: fix typo --- lib/modules.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/modules.nix b/lib/modules.nix index bb16acac7e24..13844feb303f 100644 --- a/lib/modules.nix +++ b/lib/modules.nix @@ -1167,7 +1167,7 @@ let if isDefined then if type.merge ? v2 then # check and merge share the same closure - # .headError is either non-present null or an error describing string + # .headError is either not-present, null, or a string describing the error if checkedAndMerged.headError or null != null then throw "A definition for option `${showOption loc}' is not of type `${type.description}'. TypeError: ${checkedAndMerged.headError.message}" else