esniper: fix build on darwin

Fixes /private/var/folders/rq/lwkf8kc118sg3d92t122_qrw0000gn/T/nix-build-esniper-2.28.0.drv-0