thrift: unbreak build

Add a tiny patch (already upstream) that fixes this build error:

  <flex>/lib/libfl.so: undefined reference to `yylex'
This commit is contained in:
Bjørn Forsman
2014-04-23 21:51:21 +02:00
parent a3b1f48c5d
commit 83d0fd3078
2 changed files with 28 additions and 0 deletions

View File

@@ -15,6 +15,11 @@ stdenv.mkDerivation {
enableParallelBuilding = true;
# Fixes build error: <flex>/lib/libfl.so: undefined reference to `yylex'.
# Patch exists in upstream git repo, so it can be removed on the next version
# bump.
patches = [ ./yylex.patch ];
# Workaround to make the python wrapper not drop this package:
# pythonFull.override { extraLibs = [ thrift ]; }
pythonPath = [];