Skip to content

Commit

Permalink
nodejs: 4.6.0 -> 4.6.2 and fix build on darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
Sander van der Burg committed Jan 26, 2017
1 parent f4bb175 commit 13c473c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions pkgs/development/web/nodejs/v4.nix
Expand Up @@ -4,9 +4,13 @@
}@args:

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

0 comments on commit 13c473c

Please sign in to comment.