Does not work, since the shared libraries are not found.
Even: export LD_LIBRARY_PATH=...
is not enough, maybe because the distribution is old (ubuntu 20.04 with glibc 2.31).
I’ve compiled a static nix and it “works”, but not enough to successfully complete nix develop for a small python project of mine.