build-support/php: fix updateScript when composerVendor omits composerLock (#488541)

This commit is contained in:
Philip Taron
2026-02-13 16:52:07 +00:00
committed by GitHub
@@ -107,8 +107,7 @@ let
# Projects providing a lockfile from upstream can be automatically updated.
passthru = passthru // {
updateScript =
args.passthru.updateScript
or (if finalAttrs.composerVendor.composerLock == null then nix-update-script { } else null);
args.passthru.updateScript or (if composerLock == null then nix-update-script { } else null);
};
meta = meta // {