Can I use a resource for a head-only dependency?