build-support/php: enable support for dontCheckForBrokenSymlinks set to true by default

This commit is contained in:
Pol Dellaiera 2025-03-04 22:59:48 +01:00
parent 489ac4817f
commit 64b246657d
2 changed files with 9 additions and 1 deletions

View file

@ -23,6 +23,7 @@ let
patches ? [ ], patches ? [ ],
doCheck ? true, doCheck ? true,
doInstallCheck ? true, doInstallCheck ? true,
dontCheckForBrokenSymlinks ? true,
passthru ? { }, passthru ? { },
meta ? { }, meta ? { },
... ...
@ -33,6 +34,7 @@ let
strictDeps strictDeps
doCheck doCheck
doInstallCheck doInstallCheck
dontCheckForBrokenSymlinks
; ;
nativeBuildInputs = nativeBuildInputs ++ [ nativeBuildInputs = nativeBuildInputs ++ [
@ -95,6 +97,7 @@ let
composerNoPlugins composerNoPlugins
composerNoScripts composerNoScripts
composerStrictValidation composerStrictValidation
dontCheckForBrokenSymlinks
; ;
}); });

View file

@ -22,6 +22,7 @@ let
strictDeps ? true, strictDeps ? true,
doCheck ? true, doCheck ? true,
doInstallCheck ? false, doInstallCheck ? false,
dontCheckForBrokenSymlinks ? true,
... ...
}@args: }@args:
assert (lib.assertMsg (args ? pname) "mkComposerVendor expects pname argument."); assert (lib.assertMsg (args ? pname) "mkComposerVendor expects pname argument.");
@ -33,7 +34,11 @@ let
# See https://github.com/NixOS/nix/issues/6660 # See https://github.com/NixOS/nix/issues/6660
inherit dontPatchShebangs; inherit dontPatchShebangs;
inherit buildInputs strictDeps doCheck; inherit
buildInputs
strictDeps
doCheck
;
nativeBuildInputs = nativeBuildInputs ++ [ nativeBuildInputs = nativeBuildInputs ++ [
composer composer