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 ? [ ],
doCheck ? true,
doInstallCheck ? true,
dontCheckForBrokenSymlinks ? true,
passthru ? { },
meta ? { },
...
@ -33,6 +34,7 @@ let
strictDeps
doCheck
doInstallCheck
dontCheckForBrokenSymlinks
;
nativeBuildInputs = nativeBuildInputs ++ [
@ -95,6 +97,7 @@ let
composerNoPlugins
composerNoScripts
composerStrictValidation
dontCheckForBrokenSymlinks
;
});

View File

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