phpPackages.composer: Add unzip to path
Unzip is used by composer to install dependencies etc. If it's not there it defaults to using PHP's built in zip functions. But they are slower and composer complains to the user if this happens.
This commit is contained in:
parent
afa88c8aa7
commit
52fa2d4be1
1 changed files with 2 additions and 1 deletions
|
@ -269,7 +269,8 @@ let
|
|||
mkdir -p $out/bin
|
||||
install -D $src $out/libexec/composer/composer.phar
|
||||
makeWrapper ${php}/bin/php $out/bin/composer \
|
||||
--add-flags "$out/libexec/composer/composer.phar"
|
||||
--add-flags "$out/libexec/composer/composer.phar" \
|
||||
--prefix PATH : ${pkgs.lib.makeBinPath [ pkgs.unzip ]}
|
||||
'';
|
||||
|
||||
meta = with pkgs.lib; {
|
||||
|
|
Loading…
Reference in a new issue