build-support/php: fix updateScript when composerVendor omits composerLock (#488541)
This commit is contained in:
@@ -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 // {
|
||||
|
||||
Reference in New Issue
Block a user