diff options
author | lassulus <lass@aidsballs.de> | 2016-10-20 09:13:15 +0200 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2016-10-20 09:13:15 +0200 |
commit | bb2d4b10d3a1a835711e6b4fa459f9b0aaba4a88 (patch) | |
tree | fed41f7116e6c5e932127fc0f3fd079cf7f3ca4d /krebs | |
parent | 67a61b71fc04612ea9d8933752d6e0b6f2d81e0e (diff) |
m 5 newsbot-js: buildNodePackage via callPackage
Diffstat (limited to 'krebs')
-rw-r--r-- | krebs/5pkgs/newsbot-js/default.nix | 6 |
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 { |