diff options
author | Silvan Mosberger <contact@infinisil.com> | 2020-03-19 03:46:50 +0100 |
---|---|---|
committer | Silvan Mosberger <contact@infinisil.com> | 2020-03-19 03:50:47 +0100 |
commit | 742e3fc0020573deecc04029764b288fdbaed4cc (patch) | |
tree | e8c6fdbac87a8e3b7b56fb7040c8963cefc8f343 /lib/tests/modules.sh | |
parent | 9eecf2d05711b8e8677af8ceda17f6b9938b3eb3 (diff) | |
download | nixpkgs-742e3fc0020573deecc04029764b288fdbaed4cc.tar nixpkgs-742e3fc0020573deecc04029764b288fdbaed4cc.tar.gz nixpkgs-742e3fc0020573deecc04029764b288fdbaed4cc.tar.bz2 nixpkgs-742e3fc0020573deecc04029764b288fdbaed4cc.tar.lz nixpkgs-742e3fc0020573deecc04029764b288fdbaed4cc.tar.xz nixpkgs-742e3fc0020573deecc04029764b288fdbaed4cc.tar.zst nixpkgs-742e3fc0020573deecc04029764b288fdbaed4cc.zip |
lib/tests: Check for nested option-dependent definitions
Diffstat (limited to 'lib/tests/modules.sh')
-rwxr-xr-x | lib/tests/modules.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/tests/modules.sh b/lib/tests/modules.sh index e80a3eccecd..e81cf016ee9 100755 --- a/lib/tests/modules.sh +++ b/lib/tests/modules.sh @@ -189,6 +189,9 @@ checkConfigOutput "true" config.enable ./import-from-store.nix checkConfigOutput true config.enable ./define-option-dependently.nix ./declare-enable.nix ./declare-int-positive-value.nix checkConfigOutput 360 config.value ./define-option-dependently.nix ./declare-enable.nix ./declare-int-positive-value.nix checkConfigOutput 7 config.value ./define-option-dependently.nix ./declare-int-positive-value.nix +checkConfigOutput true config.set.enable ./define-option-dependently-nested.nix ./declare-enable-nested.nix ./declare-int-positive-value-nested.nix +checkConfigOutput 360 config.set.value ./define-option-dependently-nested.nix ./declare-enable-nested.nix ./declare-int-positive-value-nested.nix +checkConfigOutput 7 config.set.value ./define-option-dependently-nested.nix ./declare-int-positive-value-nested.nix # Check attrsOf and lazyAttrsOf. Only lazyAttrsOf should be lazy, and only # attrsOf should work with conditional definitions |