diff options
author | lassulus <lassulus@lassul.us> | 2019-10-10 10:48:17 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2019-10-10 10:48:17 +0200 |
commit | 41a92b7715cc4a5a615369e05849a913371e5c20 (patch) | |
tree | 0bc3f8c11a6f8492f380388f4903b34bb43461c6 | |
parent | 0857d7bcc8d69780a01303e53159063989c912aa (diff) |
newsbot-js: use nodejs 12
-rw-r--r-- | krebs/5pkgs/simple/newsbot-js/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/krebs/5pkgs/simple/newsbot-js/default.nix b/krebs/5pkgs/simple/newsbot-js/default.nix index cc362b86a..055e6b476 100644 --- a/krebs/5pkgs/simple/newsbot-js/default.nix +++ b/krebs/5pkgs/simple/newsbot-js/default.nix @@ -1,11 +1,11 @@ -{ stdenv, makeWrapper, lib, buildEnv, fetchgit, nodejs-8_x, pkgs, icu }: +{ stdenv, makeWrapper, lib, buildEnv, fetchgit, nodejs-12_x, pkgs, icu }: with lib; let nodeEnv = import <nixpkgs/pkgs/development/node-packages/node-env.nix> { inherit (pkgs) stdenv python2 utillinux runCommand writeTextFile; - nodejs = nodejs-8_x; + nodejs = nodejs-12_x; libtool = if pkgs.stdenv.isDarwin then pkgs.darwin.cctools else null; }; @@ -36,7 +36,7 @@ in stdenv.mkDerivation { ]; buildInputs = [ - nodejs-8_x + nodejs-12_x makeWrapper ]; @@ -45,7 +45,7 @@ in stdenv.mkDerivation { cp newsbot.js $out/ cat > $out/newsbot << EOF - ${nodejs-8_x}/bin/node $out/newsbot.js + ${nodejs-12_x}/bin/node $out/newsbot.js EOF chmod +x $out/newsbot |