You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
throw"Module `${file}` contains a disabledModules item that is an attribute set that can be converted to a string (${toStringm}) but also has a `.key` attribute (${m.key}) with a different value. This makes it ambiguous which module should be disabled."
443
+
else
444
+
toStringm
445
+
446
+
elseifm ? keythen
447
+
m.key
448
+
449
+
elseifisAttrsmthen
450
+
throw"Module `${file}` contains a disabledModules item that is an attribute set, presumably a module, that does not have a `key` attribute. This means that the module system doesn't have any means to identify the module that should be disabled. Make sure that you've put the correct value in disabledModules: a string path relative to modulesPath, a path value, or an attribute set with a `key` attribute."
451
+
else
452
+
throw"Each disabledModules item must be a path, string, or a attribute set with a key attribute, or a value supported by toString. However, one of the disabledModules items in `${toStringfile}` is none of that, but is of type ${typeOfm}.";
throw"Module `${file}` contains a disabledModules item that is an attribute set that can be converted to a string (${toStringm}) but also has a `.key` attribute (${m.key}) with a different value. This makes it ambiguous which module should be disabled."
504
-
else
505
-
toStringm
506
-
507
-
elseifm ? keythen
508
-
m.key
509
-
510
-
elseifisAttrsmthen
511
-
throw"Module `${file}` contains a disabledModules item that is an attribute set, presumably a module, that does not have a `key` attribute. This means that the module system doesn't have any means to identify the module that should be disabled. Make sure that you've put the correct value in disabledModules: a string path relative to modulesPath, a path value, or an attribute set with a `key` attribute."
512
-
else
513
-
throw"Each disabledModules item must be a path, string, or a attribute set with a key attribute, or a value supported by toString. However, one of the disabledModules items in `${toStringfile}` is none of that, but is of type ${typeOfm}.";
checkConfigError 'A definition for option .* is not of type .*. Definition values:\n\s*- In .*: "1000"' config.value ./declare-coerced-value-unsound.nix ./define-value-string-bigint.nix
306
324
checkConfigError 'toInt: Could not convert .* to int' config.value ./declare-coerced-value-unsound.nix ./define-value-string-arbitrary.nix
0 commit comments