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
commit f29c832876
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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";