Roast the walnuts and pistachios for about 8 minutes at 180°C/350°F. Stir the nuts halfway through and keep an eye so not to burn them. Let slightly cool.
Once the nuts are slightly cooled, add to a blender together with the salt, garlic and dried ġbejna. Blend everything until everything is in crumbs.
Add the basil, olive oil and black pepper. Blend until you get a smooth paste.
Transfer the paste to a bowl and add the fresh ġbejniet, mash everything together with a fork, making sure that it's well combined and there is an even colour.
Place the spread in a shallow plate or bowl, drizzle with some olive oil and sprinkle with chili flakes. Serve with bread or crackers!