We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
1 parent f4bb175 commit 13c473cCopy full SHA for 13c473c
pkgs/development/web/nodejs/v4.nix
@@ -4,9 +4,13 @@
4
}@args:
5
6
import ./nodejs.nix (args // rec {
7
- version = "4.6.0";
+ version = "4.6.2";
8
src = fetchurl {
9
url = "http://nodejs.org/dist/v${version}/node-v${version}.tar.xz";
10
- sha256 = "1566q1kkv8j30fgqx8sm2h8323f38wwpa1hfb10gr6z46jyhv4a2";
+ sha256 = "17ick2r2biyxs5zf83i8q8844fbcphm0d5g1z70mcrb86yrmi545";
11
};
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
+ '';
16
})
0 commit comments