Derry City claimed back-to-back wins in the League of Ireland Premier Division for the first time this season with a 1-0 win over champions Shamrock Rovers at Celtic Park.