Unverified Commit 82c772f3 authored by Philip Taron's avatar Philip Taron Committed by GitHub
Browse files

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

parents 93c63484 1a3015f3
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 // {