summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/newsbot-js
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2016-10-20 10:01:19 +0200
committermakefu <github@syntax-fehler.de>2016-10-20 10:01:19 +0200
commit789063319e78a9e2c1df6cf4a436a188886887ae (patch)
treec32a3c15559a6dc1bd6503cf01c876b300c1eeef /krebs/5pkgs/newsbot-js
parent3ceb087cc8c7475e98ceac70f82dee2e46e9a85d (diff)
parent0f2a9778315c3126794c0f1ad63710d38e7a67f7 (diff)
Merge remote-tracking branch 'prism/lassulus'
Diffstat (limited to 'krebs/5pkgs/newsbot-js')
-rw-r--r--krebs/5pkgs/newsbot-js/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/krebs/5pkgs/newsbot-js/default.nix b/krebs/5pkgs/newsbot-js/default.nix
index 9e4a51306..b52454ca4 100644
--- a/krebs/5pkgs/newsbot-js/default.nix
+++ b/krebs/5pkgs/newsbot-js/default.nix
@@ -1,9 +1,9 @@
-{ stdenv, makeWrapper, lib, buildEnv, fetchgit, nodePackages, nodejs }:
+{ stdenv, makeWrapper, callPackage, lib, buildEnv, fetchgit, nodePackages, nodejs }:
with lib;
let
- np = nodePackages.override {
+ np = (callPackage <nixpkgs/pkgs/top-level/node-packages.nix>) {
generated = ./packages.nix;
self = np;
};
@@ -21,7 +21,7 @@ let
ignoreCollisions = true;
};
-in nodePackages.buildNodePackage {
+in np.buildNodePackage {
name = "newsbot-js";
src = fetchgit {