mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 17:23:34 +00:00
rethinkdb: use python2
This commit is contained in:
parent
7ab6edd171
commit
e0a5110779
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user