Skip to content

Commit 13c473c

Browse files
author
Sander van der Burg
committedJan 26, 2017
nodejs: 4.6.0 -> 4.6.2 and fix build on darwin
1 parent f4bb175 commit 13c473c

File tree

1 file changed

+6
-2
lines changed
  • pkgs/development/web/nodejs

1 file changed

+6
-2
lines changed
 

Diff for: ‎pkgs/development/web/nodejs/v4.nix

+6-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,13 @@
44
}@args:
55

66
import ./nodejs.nix (args // rec {
7-
version = "4.6.0";
7+
version = "4.6.2";
88
src = fetchurl {
99
url = "http://nodejs.org/dist/v${version}/node-v${version}.tar.xz";
10-
sha256 = "1566q1kkv8j30fgqx8sm2h8323f38wwpa1hfb10gr6z46jyhv4a2";
10+
sha256 = "17ick2r2biyxs5zf83i8q8844fbcphm0d5g1z70mcrb86yrmi545";
1111
};
12+
preBuild = stdenv.lib.optionalString stdenv.isDarwin ''
13+
sed -i -e "s|tr1/type_traits|type_traits|g" \
14+
-e "s|std::tr1|std|" src/util.h
15+
'';
1216
})

0 commit comments

Comments
 (0)
Please sign in to comment.