mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
Merge pull request #319870 from Infinidoge/peertube/limit-fd-threads
peertube: limit threads used for compression step
This commit is contained in:
commit
d048f1ecf2
@ -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