Stir gelatin mix and boiling water together in a bowl until dissolved. Add pineapple juice and cranberry sauce; stir until incorporated and thickened. Fold in apple and walnuts. Pour gelatin mixture into a mold and refrigerate until set, at least 4 hours.