nodejs-8_x: Drop package

It will be EOL within the support period of 19.09
This commit is contained in:
adisbladis 2019-07-05 11:03:28 +01:00
parent 6a17bdf397
commit e06c97b71d
No known key found for this signature in database
GPG key ID: 110BFAD44C6249B7
18 changed files with 24 additions and 10162 deletions

View file

@ -182,6 +182,11 @@
<xref linkend="opt-programs.zsh.loginShellInit" /> and <xref linkend="opt-programs.zsh.promptInit" /> may break if it relies on those options being set. <xref linkend="opt-programs.zsh.loginShellInit" /> and <xref linkend="opt-programs.zsh.promptInit" /> may break if it relies on those options being set.
</para> </para>
</listitem> </listitem>
<listitem>
<para>
Nodejs 8 is scheduled EOL under the lifetime of 19.09 and has been dropped.
</para>
</listitem>
</itemizedlist> </itemizedlist>
</section> </section>

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, fetchNodeModules, nodejs-8_x, ruby, sencha { stdenv, fetchFromGitHub, fetchNodeModules, nodejs-10_x, ruby, sencha
, auth0ClientID, auth0Domain }: , auth0ClientID, auth0Domain }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -12,12 +12,12 @@ stdenv.mkDerivation rec {
sha256 = "1h44srl2gzkhjaazpwz1pwy4dp5x776fc685kahlvjlsfls0fvy9"; sha256 = "1h44srl2gzkhjaazpwz1pwy4dp5x776fc685kahlvjlsfls0fvy9";
}; };
nativeBuildInputs = [ nodejs-8_x ruby sencha ]; nativeBuildInputs = [ nodejs-10_x ruby sencha ];
node_modules = fetchNodeModules { node_modules = fetchNodeModules {
inherit src; inherit src;
nodejs = nodejs-8_x; nodejs = nodejs-10_x;
sha256 = "0qsgr8cq81yismal5sqr02skakqpynwwzk5s98dr5bg91y361fgy"; sha256 = "0qsgr8cq81yismal5sqr02skakqpynwwzk5s98dr5bg91y361fgy";
}; };

View file

@ -12,7 +12,7 @@ rec {
buildApp = import ./build-app.nix { buildApp = import ./build-app.nix {
inherit (pkgs) stdenv python which file jdk nodejs; inherit (pkgs) stdenv python which file jdk nodejs;
inherit (pkgs.nodePackages_8_x) alloy titanium; inherit (pkgs.nodePackages_10_x) alloy titanium;
inherit (androidenv) composeAndroidPackages; inherit (androidenv) composeAndroidPackages;
inherit (xcodeenv) composeXcodeWrapper; inherit (xcodeenv) composeXcodeWrapper;
inherit titaniumsdk; inherit titaniumsdk;

View file

@ -1,17 +0,0 @@
# This file has been generated by node2nix 1.7.0. Do not edit!
{pkgs ? import <nixpkgs> {
inherit system;
}, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-8_x"}:
let
nodeEnv = import ./node-env.nix {
inherit (pkgs) stdenv python2 utillinux runCommand writeTextFile;
inherit nodejs;
libtool = if pkgs.stdenv.isDarwin then pkgs.darwin.cctools else null;
};
in
import ./node-packages-v8.nix {
inherit (pkgs) fetchurl fetchgit;
inherit nodeEnv;
}

View file

@ -1,27 +0,0 @@
{ pkgs, nodejs, stdenv }:
let
nodePackages = import ./composition-v8.nix {
inherit pkgs nodejs;
inherit (stdenv.hostPlatform) system;
};
in
nodePackages // {
pnpm = nodePackages.pnpm.override {
nativeBuildInputs = [ pkgs.makeWrapper ];
postInstall = let
pnpmLibPath = stdenv.lib.makeBinPath [
nodejs.passthru.python
nodejs
];
in ''
for prog in $out/bin/*; do
wrapProgram "$prog" --prefix PATH : ${pnpmLibPath}
done
'';
};
stf = nodePackages.stf.override {
nativeBuildInputs = with pkgs; [ yasm czmq protobufc ];
};
}

View file

@ -1,13 +0,0 @@
[
"alloy"
, "azure-cli"
, "bower"
, "coffee-script"
, "grunt-cli"
, "node-gyp"
, "node-gyp-build"
, "node-pre-gyp"
, "pnpm"
, "stf"
, "titanium"
]

File diff suppressed because it is too large Load diff

View file

@ -1,10 +0,0 @@
{ callPackage, enableNpm ? true }:
let
buildNodejs = callPackage ./nodejs.nix {};
in
buildNodejs {
inherit enableNpm;
version = "8.16.0";
sha256 = "0h3k5y51fyysqnqb8n5v5zxga937pipag49xzx6xr9b82phfh59m";
}

View file

@ -2,7 +2,7 @@
{pkgs ? import <nixpkgs> { {pkgs ? import <nixpkgs> {
inherit system; inherit system;
}, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-8_x"}: }, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-10_x"}:
let let
nodeEnv = import ../../node-packages/node-env.nix { nodeEnv = import ../../node-packages/node-env.nix {

View file

@ -2,7 +2,7 @@
{pkgs ? import <nixpkgs> { {pkgs ? import <nixpkgs> {
inherit system; inherit system;
}, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-8_x"}: }, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-10_x"}:
let let
nodeEnv = import ../../development/node-packages/node-env.nix { nodeEnv = import ../../development/node-packages/node-env.nix {

View file

@ -1,4 +1,4 @@
{ stdenv, pkgs, fetchFromGitHub, nodejs-8_x, phantomjs2, which }: { stdenv, pkgs, fetchFromGitHub, nodejs-10_x, phantomjs2, which }:
let let
nodePackages = import ./node.nix { nodePackages = import ./node.nix {
@ -22,7 +22,7 @@ stdenv.mkDerivation {
}; };
nativeBuildInputs = [ which ]; nativeBuildInputs = [ which ];
buildInputs = [ nodejs-8_x phantomjs-prebuilt ] ++ (stdenv.lib.attrVals [ buildInputs = [ nodejs-10_x phantomjs-prebuilt ] ++ (stdenv.lib.attrVals [
"blint-^1" "blint-^1"
"node-static-0.6.0" "node-static-0.6.0"
"rollup-^0.41.0" "rollup-^0.41.0"

View file

@ -2,7 +2,7 @@
{pkgs ? import <nixpkgs> { {pkgs ? import <nixpkgs> {
inherit system; inherit system;
}, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-8_x"}: }, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-10_x"}:
let let
nodeEnv = import ../../../../development/node-packages/node-env.nix { nodeEnv = import ../../../../development/node-packages/node-env.nix {

View file

@ -1,5 +1,5 @@
{ stdenv, pkgs, buildEnv, fetchFromGitHub, makeWrapper { stdenv, pkgs, buildEnv, fetchFromGitHub, makeWrapper
, fetchpatch, nodejs-8_x, phantomjs2, runtimeShell }: , fetchpatch, nodejs-10_x, phantomjs2, runtimeShell }:
let let
nodePackages = let nodePackages = let
# Some packages fail to install with ENOTCACHED due to a mistakenly added # Some packages fail to install with ENOTCACHED due to a mistakenly added
@ -96,7 +96,7 @@ let
# has resolved the issue. # has resolved the issue.
(import ./js-sequence-diagrams { (import ./js-sequence-diagrams {
inherit pkgs; inherit pkgs;
nodejs = nodejs-8_x; nodejs = nodejs-10_x;
extraNodePackages = { extraNodePackages = {
lodash = nodePackages."lodash-^4.17.4"; lodash = nodePackages."lodash-^4.17.4";
eve = nodePackages."eve-^0.5.4"; eve = nodePackages."eve-^0.5.4";
@ -143,7 +143,7 @@ stdenv.mkDerivation rec {
inherit name version src; inherit name version src;
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];
buildInputs = [ nodejs-8_x ]; buildInputs = [ nodejs-10_x ];
NODE_PATH = "${nodeEnv}/lib/node_modules"; NODE_PATH = "${nodeEnv}/lib/node_modules";
@ -157,7 +157,7 @@ stdenv.mkDerivation rec {
postPatch = '' postPatch = ''
# due to the `dontNpmInstall` workaround, `node_modules/.bin` isn't created anymore. # due to the `dontNpmInstall` workaround, `node_modules/.bin` isn't created anymore.
substituteInPlace package.json \ substituteInPlace package.json \
--replace "webpack --config" "${nodejs-8_x}/bin/node ./node_modules/webpack/bin/webpack.js --config" --replace "webpack --config" "${nodejs-10_x}/bin/node ./node_modules/webpack/bin/webpack.js --config"
''; '';
buildPhase = '' buildPhase = ''
@ -169,7 +169,7 @@ stdenv.mkDerivation rec {
mkdir -p $out/bin mkdir -p $out/bin
cat > $out/bin/codimd <<EOF cat > $out/bin/codimd <<EOF
#!${runtimeShell} #!${runtimeShell}
${nodejs-8_x}/bin/node $out/app.js ${nodejs-10_x}/bin/node $out/app.js
EOF EOF
cp -R {app.js,bin,lib,locales,package.json,public} $out/ cp -R {app.js,bin,lib,locales,package.json,public} $out/
''; '';

View file

@ -2,7 +2,7 @@
{pkgs ? import <nixpkgs> { {pkgs ? import <nixpkgs> {
inherit system; inherit system;
}, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-8_x"}: }, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-10_x"}:
let let
nodeEnv = import ../../../development/node-packages/node-env.nix { nodeEnv = import ../../../development/node-packages/node-env.nix {

View file

@ -2,7 +2,7 @@
{pkgs ? import <nixpkgs> { {pkgs ? import <nixpkgs> {
inherit system; inherit system;
}, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-8_x"}: }, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-10_x"}:
let let
nodeEnv = import ../../../development/node-packages/node-env.nix { nodeEnv = import ../../../development/node-packages/node-env.nix {

View file

@ -2,7 +2,7 @@
{pkgs ? import <nixpkgs> { {pkgs ? import <nixpkgs> {
inherit system; inherit system;
}, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-8_x"}: }, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-10_x"}:
let let
nodeEnv = import ../../../development/node-packages/node-env.nix { nodeEnv = import ../../../development/node-packages/node-env.nix {

View file

@ -2,7 +2,7 @@
{pkgs ? import <nixpkgs> { {pkgs ? import <nixpkgs> {
inherit system; inherit system;
}, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-8_x"}: }, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-10_x"}:
let let
nodeEnv = import ../../../development/node-packages/node-env.nix { nodeEnv = import ../../../development/node-packages/node-env.nix {

View file

@ -4233,9 +4233,6 @@ in
nodejs-slim = nodejs-slim-10_x; nodejs-slim = nodejs-slim-10_x;
nodejs-8_x = callPackage ../development/web/nodejs/v8.nix {};
nodejs-slim-8_x = callPackage ../development/web/nodejs/v8.nix { enableNpm = false; };
nodejs-10_x = callPackage ../development/web/nodejs/v10.nix { nodejs-10_x = callPackage ../development/web/nodejs/v10.nix {
openssl = openssl_1_1; openssl = openssl_1_1;
}; };
@ -4270,10 +4267,6 @@ in
nodejs = pkgs.nodejs-10_x; nodejs = pkgs.nodejs-10_x;
}); });
nodePackages_8_x = dontRecurseIntoAttrs (callPackage ../development/node-packages/default-v8.nix {
nodejs = pkgs.nodejs-8_x;
});
nodePackages = nodePackages_10_x; nodePackages = nodePackages_10_x;
npm2nix = nodePackages.npm2nix; npm2nix = nodePackages.npm2nix;
@ -16368,7 +16361,7 @@ in
iosevka = callPackage ../data/fonts/iosevka { iosevka = callPackage ../data/fonts/iosevka {
nodejs = nodejs-8_x; nodejs = nodejs-10_x;
}; };
iosevka-bin = callPackage ../data/fonts/iosevka/bin.nix {}; iosevka-bin = callPackage ../data/fonts/iosevka/bin.nix {};