Shared libuv in io.js and Node.js
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, python, utillinux, openssl, http-parser, zlib, nightly ? false }:
|
||||
{ stdenv, fetchurl, python, utillinux, openssl, http-parser, zlib, libuv, nightly ? false }:
|
||||
|
||||
let
|
||||
version = if nightly then "1.2.1-nightly20150213f0296933f8" else "1.2.0";
|
||||
@@ -19,9 +19,9 @@ in stdenv.mkDerivation {
|
||||
sed -e 's|^#!/usr/bin/env python$|#!${python}/bin/python|g' -i configure
|
||||
'';
|
||||
|
||||
configureFlags = [ "--shared-openssl" "--shared-http-parser" "--shared-zlib" ];
|
||||
configureFlags = [ "--shared-openssl" "--shared-http-parser" "--shared-zlib" "--shared-libuv" ];
|
||||
|
||||
buildInputs = [ python openssl http-parser zlib ] ++ (optional stdenv.isLinux utillinux);
|
||||
buildInputs = [ python openssl http-parser zlib libuv ] ++ (optional stdenv.isLinux utillinux);
|
||||
setupHook = ../nodejs/setup-hook.sh;
|
||||
|
||||
meta = {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, openssl, python, zlib, v8, utillinux, http-parser
|
||||
{ stdenv, fetchurl, openssl, python, zlib, libuv, v8, utillinux, http-parser
|
||||
, pkgconfig, runCommand, which, unstableVersion ? false
|
||||
}:
|
||||
|
||||
@@ -10,9 +10,8 @@ let
|
||||
|
||||
version = if unstableVersion then "0.11.13" else "0.12.0";
|
||||
|
||||
# !!! Should we also do shared libuv?
|
||||
deps = {
|
||||
inherit openssl zlib;
|
||||
inherit openssl zlib libuv;
|
||||
|
||||
# disabled system v8 because v8 3.14 no longer receives security fixes
|
||||
# we fall back to nodejs' internal v8 copy which receives backports for now
|
||||
|
||||
Reference in New Issue
Block a user