Meanwhile, set a small heavy skillet over medium-high heat. Sprinkle in the coriander and cumin and toast until aromatic, about 30 seconds. Remove the pan from the heat and add the butter, brown sugar, rosemary, and cayenne. Return the skillet to low heat and stir until the butter melts and the sugar dissolves, 2 to 2 1/2 minutes. Keep warm. Tip the nuts into a large warmed bowl, pour the warm spiced butter over the nuts, and add the salt. Stir until the nuts are well coated. Taste for seasoning and add more salt if necessary. Let the nuts cool completely. The nuts can be made up to a week in advance; store in an airtight container.