From ce4072c662a651d62400bda2a05890fd16ba2fce Mon Sep 17 00:00:00 2001 From: schneefux Date: Thu, 4 Oct 2018 17:12:52 +0200 Subject: [PATCH] nodePackages.webtorrent-cli: add node-gyp dependency, fixes build --- pkgs/development/node-packages/default-v8.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/node-packages/default-v8.nix b/pkgs/development/node-packages/default-v8.nix index 49313eb16a79..020992c86844 100644 --- a/pkgs/development/node-packages/default-v8.nix +++ b/pkgs/development/node-packages/default-v8.nix @@ -107,4 +107,8 @@ nodePackages // { dontNpmInstall = true; # We face an error with underscore not found, but the package will work fine if we ignore this. }; + webtorrent-cli = nodePackages.webtorrent-cli.override { + buildInputs = [ nodePackages.node-gyp-build ]; + }; + }