php: use binary wrappers

Instead of shell wrappers, use binary wrappers which are preferred (see
https://nixos.org/manual/nixpkgs/unstable/#:~:text=Using%20the-,makeBinaryWrapper,implementation%20is%20usually%20preferred,-%2C%20as%20it%20creates)
This commit is contained in:
Lars Strojny 2023-05-27 15:05:11 +02:00
parent a619e7a40a
commit 095dfa20dc
No known key found for this signature in database
GPG Key ID: 887416A2AD3B0CA9

@ -9,7 +9,7 @@ let
, nixosTests
, tests
, fetchurl
, makeWrapper
, makeBinaryWrapper
, symlinkJoin
, writeText
, autoconf
@ -141,7 +141,7 @@ let
phpWithExtensions = symlinkJoin {
name = "php-with-extensions-${version}";
inherit (php) version;
nativeBuildInputs = [ makeWrapper ];
nativeBuildInputs = [ makeBinaryWrapper ];
passthru = php.passthru // {
buildEnv = mkBuildEnv allArgs allExtensionFunctions;
withExtensions = mkWithExtensions allArgs allExtensionFunctions;