Loading pkgs/applications/video/mpv/scripts/webtorrent-mpv-hook.nix +5 −1 Original line number Diff line number Diff line { lib , buildNpmPackage , fetchFromGitHub, nodejs }: { lib, buildNpmPackage, fetchFromGitHub, nodejs, python3 }: buildNpmPackage rec { pname = "webtorrent-mpv-hook"; Loading @@ -21,6 +21,10 @@ buildNpmPackage rec { npmDepsHash = "sha256-GpNUJ5ZCgMjSYLqsIE/RwkTSFT3uAhxrHPe7XvGDRHE="; makeCacheWritable = true; nativeBuildInputs = [ python3 # Fixes node-gyp on aarch64-linux ]; postInstall = '' mkdir -p $out/share/mpv/scripts/ ln -s $out/lib/node_modules/webtorrent-mpv-hook/build/webtorrent.js $out/share/mpv/scripts/ Loading Loading
pkgs/applications/video/mpv/scripts/webtorrent-mpv-hook.nix +5 −1 Original line number Diff line number Diff line { lib , buildNpmPackage , fetchFromGitHub, nodejs }: { lib, buildNpmPackage, fetchFromGitHub, nodejs, python3 }: buildNpmPackage rec { pname = "webtorrent-mpv-hook"; Loading @@ -21,6 +21,10 @@ buildNpmPackage rec { npmDepsHash = "sha256-GpNUJ5ZCgMjSYLqsIE/RwkTSFT3uAhxrHPe7XvGDRHE="; makeCacheWritable = true; nativeBuildInputs = [ python3 # Fixes node-gyp on aarch64-linux ]; postInstall = '' mkdir -p $out/share/mpv/scripts/ ln -s $out/lib/node_modules/webtorrent-mpv-hook/build/webtorrent.js $out/share/mpv/scripts/ Loading