depot/third_party/nixpkgs/lib/tests/modules/doRename-condition-no-enable.nix

9 lines
165 B
Nix

{ config, options, ... }:
{
config = {
result =
assert config.services.foos == { };
assert !options.services.foo.bar.isDefined;
true;
};
}