@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, python, utillinux, nightly ? false }:
1+{ stdenv, fetchurl, python, utillinux, openssl, http-parser, zlib, nightly ? false }:
22
33let
44 version = if nightly then "1.2.1-nightly20150213f0296933f8" else "1.2.0";
@@ -19,7 +19,9 @@ in stdenv.mkDerivation {
1919 sed -e 's|^#!/usr/bin/env python$|#!${python}/bin/python|g' -i configure
2020 '';
2121
22− buildInputs = [ python ] ++ (optional stdenv.isLinux utillinux);
22+ configureFlags = [ "--shared-openssl" "--shared-http-parser" "--shared-zlib" ];
23+
24+ buildInputs = [ python openssl http-parser zlib ] ++ (optional stdenv.isLinux utillinux);
2325 setupHook = ../nodejs/setup-hook.sh;
2426
2527 meta = {