Preheat the oven to 375 degrees F. Place the nuts on a baking sheet and toast until golden, about 8 to 10 minutes. Remove from the oven and cool completely. Using a sharp knife, roughly chop the nuts. Line a 10-inch tart pan with pastry. Sprinkle the nuts and coconut over the pastry. In a mixing bowl, beat the eggs. Combine the sugar, brown sugar, corn syrup, vanilla, salt, butter and flour. Mix well. Pour the mixture over the macadamia nuts and coconut. Place in the oven on sheet tray and bake for about 45 to 50 minutes, or until the filling sets. Remove from the oven and cool completely. Serve each piece of pie with a scoop of ice cream.