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