I now see where we get "derma-" from, meaning relating to skin
"dermat-", actually, from the stem.
(In the nominative case, the τ gets dropped since Greek nouns may not end in a τ, but you can see the full stem e.g. in the genitive του δέρματος.)
Hence why it's a "dermatologist" and not a "dermologist".