If you don't care for strict reproducibility, you can easily run foreign binaries and scripts by setting up nix-ld. You can even setup a /bin and /usr/bin to your liking.
There user should not be the one who has to worry about this. It should work out of the box on NixOS. I don't care if there are 3rd party work arounds. This is a criticism of NixOS itself and how they make their own OS.
To add to that, this was literally the reason NixOS was made in the first place. It was made to not provide global "dependencies" in any of the usual places, to give developers the assurance that their software does not accidentally depend on undeclared dependencies. Given the primary purpose of the OS is to do that one thing, I don't think "well it shouldn't do that" is useful criticism.
There is _some_ curation, in the form of what package addition PRs ultimately gets merged and not. But the bar is lower since being packaged in nixpkgs does not entail general endorsement of that package, it simply meant that someone cared enough about it to package, review, merge and maintain it. Package additions are the least likely PRs to get merged https://maintainermode.org/state#kinds
Neither cargo or pypi are examples of mass automatic package import. But typst packages, hackage, gnome extensions, and CTAN for example are.
Cargo, npm, zig, and composer dependencies are fetched using upstream lock files when building such packages, all of python3Packages is packaged manually.
reply