The present invention relates to novel compounds and processes for the manufacture of dubiquitilating enzyme inhibitors (dubs). in particular, the invention relates to the inhibition of c-terminal hydrolase of ubiquitin 30 or ubiquitin 30-specific peptidase (usp30). The invention also relates to the use of dub inhibitors in the treatment of health conditions involving mitochondrial dysfunction and cancer. The compounds of the invention include compounds having the formula (i): (i) or a pharmaceutically acceptable salt thereof, wherein r1a, r1b, r1c, r1d, r1e, r1f, r1g, r2, x and l are as defined. on here.a presente invenção refere-se a novos compostos e processos para a fabricação de inibidores de enzimas desubiquitilantes (dubs). em par-ticular, a invenção refere-se à inibição da hidrolase c-terminal da ubi-quitina 30 ou da peptidase específica à ubiquitina 30 (usp30). a in-venção refere-se ainda ao uso de inibidores de dub no tratamento de estados de saúde que envolvem disfunção mitocondrial e câncer. os compostos da invenção incluem os compostos que possuem a fórmula (i): (i) ou um sal farmaceuticamente aceitável dos mesmos, em que r1a, r1b, r1c, r1d, r1e, r1f, r1g, r2, x, l e a são como definidos aqui.