Merge pull request #234431 from lstrojny/dev/php-binary-wrapper

Use binary wrapper instead of shell wrapper for PHP
This commit is contained in:
Pol Dellaiera 2023-06-01 17:01:51 +02:00 committed by GitHub
commit 89ccd18a0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;