pythonPackages.poetry: fix python2 build
This commit is contained in:
parent
4e7364abab
commit
d222547f48
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue