In a small saucepan over medium heat, toast the pine nuts or walnuts about 5-10 minutes, until the nuts become fragrant.
Be careful and stir the nuts often, as they can burn quickly.
In the bowl of a food processer, pulse nuts, basil, garlic, salt, pepper, and 1/4 cup olive oil until the basil is very finely chopped but not a fine paste.
Scrape into a small bowl and add remaining 1/4 cup olive oil.
In a pot over high heat, bring four quarts water to a rolling boil.
Add pasta and return to a boil.
Cook according to package directions (about eleven minutes) until pasta is al dente.