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

10 lines
166 B
Nix
Raw Normal View History

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