3 comments

[ 2.9 ms ] story [ 13.9 ms ] thread
Still, wouldn't it have been better to update it to python3, and maybe post a pull request?

And publish the updated script here?

There is still the matter of the psycopg dependency, but those are pretty benign to install globally.

Or am I missing the point?

Someone is always going to want to run some piece of legacy software with legacy dependencies. The great thing about Nix is that it allows you to 'install' very specific versions packages 'locally' (in a shell) without polluting your entire system.
It should be noted that you don't have to drop into the shell to run the command:

nix-shell --pure --run "python database_dependency_order.py ..."