Geologic processes influence the effects of mining on aquatic ecosystems.