diff --git a/modules/software.nix b/modules/software.nix index e8e2a1f..02ae35f 100644 --- a/modules/software.nix +++ b/modules/software.nix @@ -5,6 +5,12 @@ with pkgs; let emacs-vterm = ((emacsPackagesNgGen emacsPgtkGcc).emacsWithPackages (epkgs: [ epkgs.vterm epkgs.pdf-tools ])); + patched-webtorrent-cli = nodePackages.webtorrent-cli.override { + buildInputs = [ pkgs.nodePackages.node-gyp-build ]; + preRebuild = '' + sed -i -e "s|#!/usr/bin/env node|#! ${pkgs.nodejs}/bin/node|" node_modules/node-gyp-build/bin.js + ''; + }; in { environment.systemPackages = [ @@ -69,7 +75,7 @@ in { # Media gimp mpv - nodePackages.peerflix + patched-webtorrent-cli deluge youtube-dl-light calibre