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.
commit52fa2d4be128fa000b6b37e80c0f69e8818e5543
authorElis Hirwing <elis@hirwing.se>
dateSun 24 Mar 2019, 11:16 (8 years ago)
parentafa88c8
pkgs/top-level/php-packages.nix+2−1
@@ -269,7 +269,8 @@ let
269269 mkdir -p $out/bin
270270 install -D $src $out/libexec/composer/composer.phar
271271 makeWrapper ${php}/bin/php $out/bin/composer \
272− --add-flags "$out/libexec/composer/composer.phar"
272+ --add-flags "$out/libexec/composer/composer.phar" \
273+ --prefix PATH : ${pkgs.lib.makeBinPath [ pkgs.unzip ]}
273274 '';
274275
275276 meta = with pkgs.lib; {