nodejs: use python2

This commit is contained in:
Frederik Rietdijk
2016-10-18 10:08:28 +02:00
parent bd8b0dffae
commit ad227648c0
5 changed files with 7 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, openssl, python, zlib, libuv, v8, utillinux, http-parser
{ stdenv, fetchurl, openssl, python2, zlib, libuv, v8, utillinux, http-parser
, pkgconfig, runCommand, which, libtool
, version
, sha256 ? null
@@ -48,7 +48,7 @@ in stdenv.mkDerivation {
patches = patches ++ stdenv.lib.optionals stdenv.isDarwin [ ./no-xcode.patch ];
buildInputs = extraBuildInputs
++ [ python which zlib libuv openssl ]
++ [ python2 which zlib libuv openssl ]
++ optionals stdenv.isLinux [ utillinux http-parser ]
++ optionals stdenv.isDarwin [ pkgconfig libtool ];
setupHook = ./setup-hook.sh;