diff options
author | Pol Dellaiera <pol.dellaiera@protonmail.com> | 2024-05-05 18:46:33 +0200 |
---|---|---|
committer | Pol Dellaiera <pol.dellaiera@protonmail.com> | 2024-05-05 19:09:41 +0200 |
commit | 7075a8bd08e7ab4340e802b5b962dccf84dac769 (patch) | |
tree | 882c4bcb90c8a97a1fbb73694b2bda91361e0b76 | |
parent | 3fdb75bce34486b2f25ff0208c6498ce85a8d41d (diff) |
build-support/php: use `lib.getExe`
(cherry picked from commit 409e640ceff14b130bc65faa1065a008249432fe)
-rw-r--r-- | pkgs/build-support/php/pkgs/composer-phar.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/php/pkgs/composer-phar.nix b/pkgs/build-support/php/pkgs/composer-phar.nix index f281334ab2d9f..d802c350737f4 100644 --- a/pkgs/build-support/php/pkgs/composer-phar.nix +++ b/pkgs/build-support/php/pkgs/composer-phar.nix @@ -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 [ _7zz cacert curl git unzip xz ]} |