Peel the carrot and cut into about 1 cm pieces. Put on a baking sheet lined with baking paper and stir with some oil, salt and pepper. Roast in the oven until tender, about 25 minutes.
Wrap the garlic cloves in aluminum foil and place in the oven until puffed and soft.
Toast the pine nuts in a dry skillet until golden brown.
Wash the carrot tops and dry well. Cut the bottom (hard) part of the stalks. Using a hand blender or food processor, puree the carrot leaves, parsley, puffed garlic, 2/3 of the pine nuts, juice and zest of the lemon, edelgist flakes and olive oil into a smooth pesto. Season to taste with salt and pepper.
Cook the pasta al dente and place in a large bowl with a little cooking liquid. Mix in some of the pesto and the roasted carrots. Garnish with the remaining pine nuts.
The remaining pesto will keep for about 4 days in the refrigerator.