1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/web/nodejs/v6.nix

20 lines
616 B
Nix
Raw Normal View History

2016-04-25 15:10:10 +01:00
{ stdenv, fetchurl, openssl, python, zlib, libuv, v8, utillinux, http-parser
, pkgconfig, runCommand, which, libtool
, callPackage
2016-07-22 09:00:26 +01:00
, darwin ? null
2016-04-25 15:10:10 +01:00
}@args:
2016-07-22 09:00:26 +01:00
let
inherit (darwin.apple_sdk.frameworks) CoreServices ApplicationServices;
in import ./nodejs.nix (args // rec {
2016-09-16 18:26:17 +01:00
version = "6.6.0";
sha256 = "0cqswab9idbz5kzj50fnalg1zrircmbn9qga0cr33lvjnv98a134";
2016-07-22 09:00:26 +01:00
extraBuildInputs = stdenv.lib.optionals stdenv.isDarwin
[ CoreServices ApplicationServices ];
preBuild = stdenv.lib.optionalString stdenv.isDarwin ''
sed -i -e "s|tr1/type_traits|type_traits|g" \
-e "s|std::tr1|std|" src/util.h
'';
2016-04-25 15:10:10 +01:00
})