git.iko.soy/typeable/nixpkgs
on master help sign in
io.js: shared libraries

@lethalman courtesy <https://github.com/NixOS/nixpkgs/pull/6234#issuecomment-75429850>.

commit62b17c8bf1f866d1483fd6884136f5c10af31451 authorValérian Galliat <val@codejam.info> dateSun 22 Feb 2015, 12:00 (12 years ago) parent7fcac2e
1 file changed+4−2
pkgs/development/web/iojs/default.nix+4−2
pkgs/development/web/iojs/default.nix+4−2
@@ -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 = {