Use WhenInjectedInto
:
Bind<IRepository>().To<MoreAdvancedRespository>()
.WhenInjectedInto<TrickyRepository>();
Bind<IRepository>().To<SomeSimpleRepository>()
.WhenInjectedInto<MoreAdvancedRespository>();
See this blog post for more info.