Remove redundant line from webtorrent-cli overlay

This commit is contained in:
coolneng 2022-04-25 15:52:18 +02:00
parent d041980712
commit e2a41f20a4
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 0 additions and 1 deletions

View File

@ -6,7 +6,6 @@ let
emacs-vterm = ((emacsPackagesFor emacs28NativeComp).emacsWithPackages emacs-vterm = ((emacsPackagesFor emacs28NativeComp).emacsWithPackages
(epkgs: [ epkgs.vterm ])); (epkgs: [ epkgs.vterm ]));
patched-webtorrent-cli = nodePackages.webtorrent-cli.override { patched-webtorrent-cli = nodePackages.webtorrent-cli.override {
buildInputs = [ pkgs.nodePackages.node-gyp-build ];
preRebuild = '' preRebuild = ''
sed -i -e "s|#!/usr/bin/env node|#! ${pkgs.nodejs}/bin/node|" node_modules/node-gyp-build/bin.js sed -i -e "s|#!/usr/bin/env node|#! ${pkgs.nodejs}/bin/node|" node_modules/node-gyp-build/bin.js
''; '';