Line a baking sheet with parchment paper and grease paper well.
In a small frying pan over low heat, toast nuts until they turn light golden brown, 7 to 10 minutes.
In a nonstick frying pan over medium heat, combine sugar, chili powder, cloves, and salt. Cook, stirring constantly, until mixture is smooth and dark brown. If mixture is darkening too quickly, remove from heat, stir well, then return to heat. When sugar is entirely melted, stir in nuts.
Quickly pour mixture onto parchment paper and spread 1/8 to 1/4 in. thick. Let cool until hard, then break into pieces.