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:
parent
a619e7a40a
commit
095dfa20dc
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user