Fix webtorrent-cli using an overlay
This commit is contained in:
parent
8ba41e00e3
commit
8a97f01aa2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue