nodejs-13_x: init at 13.0.1

Changelog:
+ https://github.com/nodejs/node/releases/tag/v13.0.0
+ https://github.com/nodejs/node/releases/tag/v13.0.1
This commit is contained in:
Mario Rodas
2019-10-23 04:20:00 -05:00
parent e4506c0614
commit 2544b1b495
10 changed files with 1522 additions and 3 deletions

View File

@@ -0,0 +1,11 @@
--- a/node.gyp
+++ b/node.gyp
@@ -289,7 +289,7 @@
'-Wl,-bnoerrmsg',
],
}],
- ['OS in ("linux", "mac") and llvm_version != "0.0"', {
+ ['OS=="linux" and llvm_version!=0', {
'libraries': ['-latomic'],
}],
],

View File

@@ -8,5 +8,5 @@ in
version = "12.13.0";
sha256 = "1xmy73q3qjmy68glqxmfrk6baqk655py0cic22h1h0v7rx0iaax8";
patches = stdenv.lib.optionals stdenv.isDarwin [ ./disable-libatomic-darwin.patch ];
patches = stdenv.lib.optionals stdenv.isDarwin [ ./disable-libatomic-darwin-12_x.patch ];
}

View File

@@ -0,0 +1,12 @@
{ stdenv, callPackage, openssl, icu, enableNpm ? true }:
let
buildNodejs = callPackage ./nodejs.nix { inherit openssl icu; };
in
buildNodejs {
inherit enableNpm;
version = "13.0.1";
sha256 = "1n9w1kvdzdg2j0a41wdkqcl893209lc018sd49xpy1cnr169h6vr";
patches = stdenv.lib.optionals stdenv.isDarwin [ ./disable-libatomic-darwin-13_x.patch ];
}