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

11 lines
196 B
Nix
Raw Normal View History

{ config, lib, ... }:
{
config = {
services.foo.enable = true;
services.foo.bar = "baz";
result =
assert config.services.foos == { "" = { bar = "baz"; }; };
true;
};
}