youtube-dl: build the lazy_extractors module to improve startup time
This commit is contained in:
parent
27fd944bb7
commit
840f4888c0
@ -42,6 +42,10 @@ buildPythonPackage rec {
|
|||||||
++ lib.optional phantomjsSupport phantomjs2;
|
++ lib.optional phantomjsSupport phantomjs2;
|
||||||
in [ ''--prefix PATH : "${lib.makeBinPath packagesToBinPath}"'' ];
|
in [ ''--prefix PATH : "${lib.makeBinPath packagesToBinPath}"'' ];
|
||||||
|
|
||||||
|
setupPyBuildFlags = [
|
||||||
|
"build_lazy_extractors"
|
||||||
|
];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p $out/share/zsh/site-functions
|
mkdir -p $out/share/zsh/site-functions
|
||||||
cp youtube-dl.zsh $out/share/zsh/site-functions/_youtube-dl
|
cp youtube-dl.zsh $out/share/zsh/site-functions/_youtube-dl
|
||||||
|
Loading…
x
Reference in New Issue
Block a user