···186186# Check that imports can depend on derivations
187187checkConfigOutput "true" config.enable ./import-from-store.nix
188188189189+# Check attrsOf and lazyAttrsOf. Only lazyAttrsOf should be lazy, and only
190190+# attrsOf should work with conditional definitions
191191+# In addition, lazyAttrsOf should honor an options emptyValue
192192+checkConfigError "is not lazy" config.isLazy ./declare-attrsOf.nix ./attrsOf-lazy-check.nix
193193+checkConfigOutput "true" config.isLazy ./declare-lazyAttrsOf.nix ./attrsOf-lazy-check.nix
194194+checkConfigOutput "true" config.conditionalWorks ./declare-attrsOf.nix ./attrsOf-conditional-check.nix
195195+checkConfigOutput "false" config.conditionalWorks ./declare-lazyAttrsOf.nix ./attrsOf-conditional-check.nix
196196+checkConfigOutput "empty" config.value.foo ./declare-lazyAttrsOf.nix ./attrsOf-conditional-check.nix
197197+189198cat <<EOF
190199====== module tests ======
191200$pass Pass