The invention provides compounds of formula (I): wherein the variables are defined in the specification, or a pharmaceutically-acceptable salt thereof, that are inhibitors of replication of the hepatitis C virus. The invention also provides pharmaceutical compositions comprising such compounds, methods of using such compounds to treat hepatitis C viral infections, and processes and intermediates useful for preparing such compounds.本發明提供式(I)化合物:其中變數定義於本說明書中,或其醫藥學上可接受之鹽,該等化合物為C型肝炎病毒複製之抑制劑。本發明亦提供包含該等化合物之醫藥組合物,使用該等化合物治療C型肝炎病毒感染之方法,及適用於製備該等化合物之方法及中間物。