git.iko.soy/typeable/nixpkgs
on master help sign in
nodejs-6_x: 6.7.0 -> 6.8.0
commit66f2a012228f9339dbe3ab0cba0ba479625af029 authorGraham Christensen <graham@grahamc.com> dateThu 13 Oct 2016, 07:27 (10 years ago) parentf9df1b5
2 files changed+12−5
pkgs/development/web/nodejs/nodejs.nix+3−2 pkgs/development/web/nodejs/v6.nix+9−3
pkgs/development/web/nodejs/nodejs.nix+3−2
@@ -6,7 +6,8 @@
66, preBuild ? ""
77, extraConfigFlags ? []
88, extraBuildInputs ? []
9−, ...
9+, patches ? [],
10+ ...
1011}:
1112
1213assert stdenv.system != "armv5tel-linux";
@@ -44,7 +45,7 @@ in stdenv.mkDerivation {
4445 PATH=$out/bin:$PATH patchShebangs $out
4546 '';
4647
47− patches = stdenv.lib.optionals stdenv.isDarwin [ ./no-xcode.patch ];
48+ patches = patches ++ stdenv.lib.optionals stdenv.isDarwin [ ./no-xcode.patch ];
4849
4950 buildInputs = extraBuildInputs
5051 ++ [ python which zlib libuv openssl ]
pkgs/development/web/nodejs/v6.nix+9−3
@@ -1,5 +1,5 @@
11{ stdenv, fetchurl, openssl, python, zlib, libuv, v8, utillinux, http-parser
2−, pkgconfig, runCommand, which, libtool
2+, pkgconfig, runCommand, which, libtool, fetchpatch
33, callPackage
44, darwin ? null
55}@args:
@@ -8,12 +8,18 @@ let
88 inherit (darwin.apple_sdk.frameworks) CoreServices ApplicationServices;
99
1010in import ./nodejs.nix (args // rec {
11− version = "6.7.0";
12− sha256 = "1r9vvnczjczqs29ja8gmbqgsfgkg0dph4qkaxb3yh7mb98r2ic6f";
11+ version = "6.8.0";
12+ sha256 = "13arzwki13688hr1lh871y06lrk019g4hkasmg11arm8j1dcwcpq";
1313 extraBuildInputs = stdenv.lib.optionals stdenv.isDarwin
1414 [ CoreServices ApplicationServices ];
1515 preBuild = stdenv.lib.optionalString stdenv.isDarwin ''
1616 sed -i -e "s|tr1/type_traits|type_traits|g" \
1717 -e "s|std::tr1|std|" src/util.h
1818 '';
19+ patches = [
20+ (fetchpatch {
21+ url = "https://github.com/nodejs/node/commit/fc164acbbb700fd50ab9c04b47fc1b2687e9c0f4.patch";
22+ sha256 = "1rms3n09622xmddn013yvf5c6p3s8w8s0d2h813zs8c1l15k4k1i";
23+ })
24+ ];
1925})