diff options
author | Silvan Mosberger <contact@infinisil.com> | 2020-03-19 03:48:46 +0100 |
---|---|---|
committer | Silvan Mosberger <contact@infinisil.com> | 2020-03-19 03:50:15 +0100 |
commit | 9eecf2d05711b8e8677af8ceda17f6b9938b3eb3 (patch) | |
tree | 4bc1c405c48d507f6260d675ca57ac6ce861abe1 /lib/tests/modules.sh | |
parent | d0cf54223cc49e49b718472457b6da053d1fdc7e (diff) | |
download | nixpkgs-9eecf2d05711b8e8677af8ceda17f6b9938b3eb3.tar nixpkgs-9eecf2d05711b8e8677af8ceda17f6b9938b3eb3.tar.gz nixpkgs-9eecf2d05711b8e8677af8ceda17f6b9938b3eb3.tar.bz2 nixpkgs-9eecf2d05711b8e8677af8ceda17f6b9938b3eb3.tar.lz nixpkgs-9eecf2d05711b8e8677af8ceda17f6b9938b3eb3.tar.xz nixpkgs-9eecf2d05711b8e8677af8ceda17f6b9938b3eb3.tar.zst nixpkgs-9eecf2d05711b8e8677af8ceda17f6b9938b3eb3.zip |
Revert "lib/modules: Throw better error when definitions assign to an option set"
This reverts commit 15c873b486347e7861c64fb0b5a7852be9fc82e4. This was causing infinite recursion when depending on nested options
Diffstat (limited to 'lib/tests/modules.sh')
-rwxr-xr-x | lib/tests/modules.sh | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/tests/modules.sh b/lib/tests/modules.sh index 1b3d01646d8..e80a3eccecd 100755 --- a/lib/tests/modules.sh +++ b/lib/tests/modules.sh @@ -199,9 +199,6 @@ checkConfigOutput "true" config.conditionalWorks ./declare-attrsOf.nix ./attrsOf checkConfigOutput "false" config.conditionalWorks ./declare-lazyAttrsOf.nix ./attrsOf-conditional-check.nix checkConfigOutput "empty" config.value.foo ./declare-lazyAttrsOf.nix ./attrsOf-conditional-check.nix -# Check error for when an option set is defined to be a non-attribute set value -checkConfigError 'The option path .* is an attribute set of options, but it is defined to not be an attribute set in' \ - config.value ./declare-option-set.nix ./define-value-int-zero.nix # Even with multiple assignments, a type error should be thrown if any of them aren't valid checkConfigError 'The option value .* in .* is not of type .*' \ |