mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
peertube: limit threads used for compression step
This commit is contained in:
parent
c80d01b53e
commit
206d55763b
@ -163,7 +163,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
# Create static gzip and brotli files
|
||||
fd -e css -e eot -e html -e js -e json -e svg -e webmanifest -e xlf \
|
||||
--type file --search-path $out/client/dist \
|
||||
--type file --search-path $out/client/dist --threads $NIX_BUILD_CORES \
|
||||
--exec gzip -9 -n -c {} > {}.gz \;\
|
||||
--exec brotli --best -f {} -o {}.br
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user