Merge pull request #109769 from tobim/pkgs/thrift-fix-static

thrift: fix for pkgsStatic
This commit is contained in:
Jörg Thalheim
2021-01-18 14:35:56 +00:00
committed by GitHub

View File

@@ -25,9 +25,9 @@ stdenv.mkDerivation rec {
# pythonFull.buildEnv.override { extraLibs = [ thrift ]; }
pythonPath = [];
nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [ boost zlib libevent openssl python bison flex ]
++ stdenv.lib.optional (!static) twisted;
nativeBuildInputs = [ cmake pkgconfig bison flex ];
buildInputs = [ boost zlib libevent openssl ]
++ stdenv.lib.optionals (!static) [ python twisted ];
preConfigure = "export PY_PREFIX=$out";