Merge pull request #70225 from jonringer/fix-poetry

pythonPackages.poetry: fix python2 build
This commit is contained in:
Marek Mahut 2019-10-02 18:41:46 +02:00 committed by GitHub
commit c18e6fb510
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"