Commit 1a3015f3 authored by adeci's avatar adeci
Browse files

build-support/php: fix updateScript crash when composerVendor lacks composerLock

parent 8059a1fa
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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 // {