Melt cheese and butter together in the top of a double boiler.
Combine the cocoa powder and sugar and add to the cheese mix.
Add the vanilla and nuts and blend well.
Continue stirring until the sugar is all dissolved. Pour into 9 x 13 pan. Let cool completely, and cut into squares.