Place pistachios and sugar into the Thermomix bowl. Mill 10 sec/speed 10.
Add all remaining ingredients and cook 8 min/50°C/speed 3. Blend 30 sec/speed 4.
Pour into jars and cool until set. Store in the fridge until use.