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

10 lines
171 B
Nix
Raw Normal View History

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