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