3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/web/nodejs/v4.nix
2016-10-22 17:23:24 +02:00

18 lines
513 B
Nix

{ stdenv, fetchurl, openssl, python2, zlib, libuv, v8, utillinux, http-parser
, pkgconfig, runCommand, which, libtool
, callPackage
}@args:
import ./nodejs.nix (args // rec {
version = "4.6.0";
src = fetchurl {
url = "http://nodejs.org/dist/v${version}/node-v${version}.tar.xz";
sha256 = "1566q1kkv8j30fgqx8sm2h8323f38wwpa1hfb10gr6z46jyhv4a2";
};
preBuild = stdenv.lib.optionalString stdenv.isDarwin ''
substituteInPlace src/util.h \
--replace "tr1/type_traits" "type_traits"
'';
})