diff options
author | lassulus <lassulus@lassul.us> | 2019-11-24 18:48:13 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2019-11-24 18:48:13 +0100 |
commit | 0d404b0c1e25ede892fc856bf8c619ead35c6863 (patch) | |
tree | 77d43f7df152e125d4228eafcf4c483a48d9032d /krebs/5pkgs/simple/newsbot-js/default.nix | |
parent | 5fa963b6bc879e1307978234c884e3a88d88c7a5 (diff) |
newsbot-js: fix build on 19.09
Diffstat (limited to 'krebs/5pkgs/simple/newsbot-js/default.nix')
-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 055e6b476..0ac66f433 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-12_x, pkgs, icu }: +{ stdenv, makeWrapper, lib, buildEnv, fetchgit, nodejs, pkgs, icu }: with lib; let nodeEnv = import <nixpkgs/pkgs/development/node-packages/node-env.nix> { inherit (pkgs) stdenv python2 utillinux runCommand writeTextFile; - nodejs = nodejs-12_x; + nodejs = nodejs; libtool = if pkgs.stdenv.isDarwin then pkgs.darwin.cctools else null; }; @@ -36,7 +36,7 @@ in stdenv.mkDerivation { ]; buildInputs = [ - nodejs-12_x + nodejs makeWrapper ]; @@ -45,7 +45,7 @@ in stdenv.mkDerivation { cp newsbot.js $out/ cat > $out/newsbot << EOF - ${nodejs-12_x}/bin/node $out/newsbot.js + ${nodejs}/bin/node $out/newsbot.js EOF chmod +x $out/newsbot |