I am using bfnc in a project built with Nix. It built fine in a development shell but didn't build with nix build. Turns out this is because $LANG and $LOCAL_ARCHIVE need to be set. I've searched through the documentation and find no mention of this anywhere.