I'm trying to get Pants running on NixOS which has been challenging so for going through the code. I'm running a patched version to address 14492 and had no problems with pure Python code. The problem is NixOS uses a very unconventional Linux layout and pre-compiled binaries that rely on system libraries don't work. Instead everything is stored in /nix/store with a hash value and name. For example /nix/store/x4a3...0p6-python3.10-pyarrow-8.0.0 which has specific dependencies 0a65..p6h9-arrow-cpp-8.0.0, lxpd...aq1-glibc-2.34-210 and 60 odd other dependencies.