build-support/php: use lib.getExe

This commit is contained in:
Pol Dellaiera 2024-05-05 18:46:33 +02:00
parent b5855e4e66
commit 409e640cef
No known key found for this signature in database
GPG Key ID: D476DFE9C67467CA

View File

@ -32,7 +32,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
mkdir -p $out/bin
install -D $src $out/libexec/composer/composer.phar
makeWrapper ${php}/bin/php $out/bin/composer \
makeWrapper ${lib.getExe php} $out/bin/composer \
--add-flags "$out/libexec/composer/composer.phar" \
--prefix PATH : ${
lib.makeBinPath [