Bring a large pot of water to a rapid boil and salt liberally. Add the dried pasta and cook according to the package directions. While the pasta is cooking, make the pesto.
Put the pistachios in the bowl of a food processor fitted with a steel blade. Process until the nuts are coarsely ground. Add the spinach, basil, Parmesan cheese, lemon zest and juice, pepper and ¼ cup olive oil. Process until smooth. If the pesto is too thick, add a little more olive oil. Taste and add a pinch of salt if desired.
Drain the pasta and return to the hot pot. Add the pesto and toss to coat the pasta.