pkgs: { paths = with pkgs; [ pipenv (python39.withPackages ( packages: with packages; [ psycopg2 ])) ]; }