diff --git a/pkgs/by-name/th/thrift/package.nix b/pkgs/by-name/th/thrift/package.nix index 574c028e463d..7b32a64faad9 100644 --- a/pkgs/by-name/th/thrift/package.nix +++ b/pkgs/by-name/th/thrift/package.nix @@ -33,11 +33,17 @@ stdenv.mkDerivation rec { cmake flex pkg-config - python3 - python3.pkgs.setuptools - ] - ++ lib.optionals (!static) [ - python3.pkgs.twisted + (python3.withPackages ( + ps: + with ps; + [ + setuptools + six + ] + ++ lib.optionals (!static) [ + twisted + ] + )) ]; buildInputs = [