Merge pull request #76861 from Infinisil/paths-as-submodules

lib/types: Allow paths as submodule values
This commit is contained in:
Robert Hensing
2020-01-12 14:19:04 +01:00
committed by GitHub
5 changed files with 21 additions and 10 deletions
+1 -2
View File
@@ -174,8 +174,7 @@ checkConfigOutput "true" config.submodule.inner ./declare-submoduleWith-modules.
checkConfigOutput "true" config.submodule.outer ./declare-submoduleWith-modules.nix
## Paths should be allowed as values and work as expected
# Temporarily disabled until https://github.com/NixOS/nixpkgs/pull/76861
#checkConfigOutput "true" config.submodule.enable ./declare-submoduleWith-path.nix
checkConfigOutput "true" config.submodule.enable ./declare-submoduleWith-path.nix
# Check that disabledModules works recursively and correctly
checkConfigOutput "true" config.enable ./disable-recursive/main.nix