summary refs log tree commit diff
path: root/pkgs/development/libraries/thrift
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2014-03-17 16:20:55 +0100
committerBjørn Forsman <bjorn.forsman@gmail.com>2014-03-17 16:20:55 +0100
commit062363c001f1b0d33f7e4abd798db4b7ddfa967f (patch)
tree125a9bde699081a3ab0b868529e78c371e0d7968 /pkgs/development/libraries/thrift
parent4b23a50ebbca60625936565badafab66d95bc8e8 (diff)
downloadnixpkgs-062363c001f1b0d33f7e4abd798db4b7ddfa967f.tar
nixpkgs-062363c001f1b0d33f7e4abd798db4b7ddfa967f.tar.gz
nixpkgs-062363c001f1b0d33f7e4abd798db4b7ddfa967f.tar.bz2
nixpkgs-062363c001f1b0d33f7e4abd798db4b7ddfa967f.tar.lz
nixpkgs-062363c001f1b0d33f7e4abd798db4b7ddfa967f.tar.xz
nixpkgs-062363c001f1b0d33f7e4abd798db4b7ddfa967f.tar.zst
nixpkgs-062363c001f1b0d33f7e4abd798db4b7ddfa967f.zip
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 ]; }
Diffstat (limited to 'pkgs/development/libraries/thrift')
-rw-r--r--pkgs/development/libraries/thrift/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/libraries/thrift/default.nix b/pkgs/development/libraries/thrift/default.nix
index 0153cfa62ac..e1129d25ef4 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