From d222547f4883e5f56193384e767de4b5483c51e9 Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Tue, 1 Oct 2019 22:41:21 -0700 Subject: [PATCH] pythonPackages.poetry: fix python2 build --- pkgs/development/python-modules/poetry/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/poetry/default.nix b/pkgs/development/python-modules/poetry/default.nix index 226e71c13ccc..52be2c3bafc7 100644 --- a/pkgs/development/python-modules/poetry/default.nix +++ b/pkgs/development/python-modules/poetry/default.nix @@ -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"