mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
pythonPackages.poetry: fix python2 build
This commit is contained in:
parent
4e7364abab
commit
d222547f48
1 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue