direnv: Disable Cgo to build a static executable
To fix segmentation faults happening because of an incompatible libc when setting `LD_LIBRARY_PATH`.
This was originally reported to pyproject.nix in https://github.com/pyproject-nix/pyproject.nix/issues/405 but is a nixpkgs issue.
(cherry picked from commit e9c060893ad966ba8803591a985cfdc10b610ffa)
authored by