mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-08 01:24:09 +01:00
build-support/php: fix updateScript crash when composerVendor lacks composerLock
This commit is contained in:
parent
8059a1fa9f
commit
1a3015f3c3
1 changed files with 1 additions and 2 deletions
|
|
@ -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 // {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue