Merge master into staging-next
This commit is contained in:
@@ -12,12 +12,16 @@ with stdenv.lib;
|
||||
{ enableNpm ? true, version, sha256, patches ? [] } @args:
|
||||
|
||||
let
|
||||
|
||||
inherit (darwin.apple_sdk.frameworks) CoreServices ApplicationServices;
|
||||
|
||||
majorVersion = versions.major version;
|
||||
minorVersion = versions.minor version;
|
||||
|
||||
baseName = if enableNpm then "nodejs" else "nodejs-slim";
|
||||
|
||||
sharedLibDeps = { inherit openssl zlib libuv; } // (optionalAttrs (!stdenv.isDarwin) { inherit http-parser; });
|
||||
useSharedHttpParser = !stdenv.isDarwin && versionOlder "${majorVersion}.${minorVersion}" "11.4";
|
||||
|
||||
sharedLibDeps = { inherit openssl zlib libuv; } // (optionalAttrs useSharedHttpParser { inherit http-parser; });
|
||||
|
||||
sharedConfigureFlags = concatMap (name: [
|
||||
"--shared-${name}"
|
||||
@@ -102,7 +106,7 @@ in
|
||||
passthru.updateScript = import ./update.nix {
|
||||
inherit stdenv writeScript coreutils gnugrep jq curl common-updater-scripts gnupg nix;
|
||||
inherit (stdenv) lib;
|
||||
majorVersion = with stdenv.lib; elemAt (splitString "." version) 0;
|
||||
inherit majorVersion;
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
||||
10
pkgs/development/web/nodejs/v11.nix
Normal file
10
pkgs/development/web/nodejs/v11.nix
Normal file
@@ -0,0 +1,10 @@
|
||||
{ stdenv, callPackage, lib, openssl, enableNpm ? true }:
|
||||
|
||||
let
|
||||
buildNodejs = callPackage ./nodejs.nix { inherit openssl; };
|
||||
in
|
||||
buildNodejs {
|
||||
inherit enableNpm;
|
||||
version = "11.5.0";
|
||||
sha256 = "07fdpl8wzkcdd8iyaiwf2ah1rgishk2hrl0g73i8aggwplrl69fx";
|
||||
}
|
||||
@@ -5,6 +5,6 @@ let
|
||||
in
|
||||
buildNodejs {
|
||||
inherit enableNpm;
|
||||
version = "6.14.4";
|
||||
sha256 = "03zc6jhid6jyi871zlcrkjqffmrpxh01z2xfsl3xp2vzg2czqjws";
|
||||
version = "6.15.1";
|
||||
sha256 = "1hi9h54ni7m1lmhfqvwxdny969j31mixxlxsiyl00l2bj25fbgf3";
|
||||
}
|
||||
|
||||
@@ -5,6 +5,6 @@ let
|
||||
in
|
||||
buildNodejs {
|
||||
inherit enableNpm;
|
||||
version = "8.12.0";
|
||||
sha256 = "16j1rrxkhmvpcw689ndw1raql1gz4jqn7n82z55zn63c05cgz7as";
|
||||
version = "8.14.1";
|
||||
sha256 = "16vb5baw6nk71n7jfbyd9x8qi0kbkzv2bw1rczy7dyyz7n08gpxi";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user