Fix webtorrent-cli using an overlay
This commit is contained in:
parent
8ba41e00e3
commit
8a97f01aa2
|
@ -5,6 +5,12 @@ with pkgs;
|
||||||
let
|
let
|
||||||
emacs-vterm = ((emacsPackagesNgGen emacsPgtkGcc).emacsWithPackages
|
emacs-vterm = ((emacsPackagesNgGen emacsPgtkGcc).emacsWithPackages
|
||||||
(epkgs: [ epkgs.vterm epkgs.pdf-tools ]));
|
(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 {
|
in {
|
||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
|
@ -69,7 +75,7 @@ in {
|
||||||
# Media
|
# Media
|
||||||
gimp
|
gimp
|
||||||
mpv
|
mpv
|
||||||
nodePackages.peerflix
|
patched-webtorrent-cli
|
||||||
deluge
|
deluge
|
||||||
youtube-dl-light
|
youtube-dl-light
|
||||||
calibre
|
calibre
|
||||||
|
|
Loading…
Reference in New Issue