pythonPackages.poetry: fix python2 build

This commit is contained in:
Jonathan Ringer 2019-10-01 22:41:21 -07:00
parent 4e7364abab
commit d222547f48
No known key found for this signature in database
GPG key ID: 5C841D3CFDFEC4E0

View file

@ -10,6 +10,7 @@
, pkginfo
, html5lib
, shellingham
, subprocess32
, tomlkit
, typing
, pathlib2
@ -63,7 +64,7 @@ in buildPythonPackage rec {
shellingham
tomlkit
] ++ lib.optionals (isPy27 || isPy34) [ typing pathlib2 glob2 ]
++ lib.optionals isPy27 [ virtualenv functools32 ];
++ lib.optionals isPy27 [ virtualenv functools32 subprocess32 ];
postInstall = ''
mkdir -p "$out/share/bash-completion/completions"