Could you please replace this function by attribute 'binaries' ?
Look in other hooks how to use it. And also please add license comment at the top and more info about nacl version and configuration you tested it with.

Thanks.