The 4 °C (fridge temp) is only required for a few medications. Thyroxine is an example. Sofosbuvir, Ledipasvir and Daclatasvir are, according to the manufacturers, fine at room temperature.
The original manufacturers of Sofosbuvir, Ledipasvir, Daclatasvir
say this in their CMI
Keep HARVONI tablets in a cool, dry place where it stays below 30°C
Store DAKLINZA tablets in a cool dry place where the temperature stays below 30°C.
More or less all medications say something like this.
Sofosbuvir: Melting point. 95-100 ºC
Ledipasvir: Melting Point: 186 - 190ºC
Daclatasvir: Melting Point: 166-172°C
So you could almost certainly store them at > 30 °C but if you follow the < 30 °C recommendations everything should be fine.