rethinkdb: use python2

This commit is contained in:
Frederik Rietdijk 2016-11-09 16:08:35 +01:00
parent 7ab6edd171
commit e0a5110779

View File

@ -1,6 +1,6 @@
{ stdenv, fetchurl, which, m4, python
, protobuf, boost, zlib, curl, openssl, icu, jemalloc, libtool
, pythonPackages, makeWrapper
, python2Packages, makeWrapper
}:
stdenv.mkDerivation rec {
@ -33,13 +33,13 @@ stdenv.mkDerivation rec {
++ stdenv.lib.optional (!stdenv.isDarwin) jemalloc
++ stdenv.lib.optional stdenv.isDarwin libtool;
nativeBuildInputs = [ which m4 python ];
nativeBuildInputs = [ which m4 python2Packages.python ];
enableParallelBuilding = true;
postInstall = ''
wrapProgram $out/bin/rethinkdb \
--prefix PATH ":" "${pythonPackages.rethinkdb}/bin"
--prefix PATH ":" "${python2Packages.rethinkdb}/bin"
'';
meta = {