From 062363c001f1b0d33f7e4abd798db4b7ddfa967f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= <bjorn.forsman@gmail.com> Date: Mon, 17 Mar 2014 16:20:55 +0100 Subject: [PATCH] thrift: make it useable with the python wrapper The python wrapper discards derivations that lack the 'pythonPath' attribute, so provide a (dummy) pythonPath attribute to make this work: pythonFull.override { extraLibs = [ thrift ]; } --- pkgs/development/libraries/thrift/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/libraries/thrift/default.nix b/pkgs/development/libraries/thrift/default.nix index 0153cfa62ace..e1129d25ef4e 100644 --- a/pkgs/development/libraries/thrift/default.nix +++ b/pkgs/development/libraries/thrift/default.nix @@ -15,6 +15,10 @@ stdenv.mkDerivation { enableParallelBuilding = true; + # Workaround to make the python wrapper not drop this package: + # pythonFull.override { extraLibs = [ thrift ]; } + pythonPath = []; + buildInputs = [ boost zlib libevent openssl python automake autoconf libtool pkgconfig bison flex