Unverified Commit 1b0ae757 authored by Philip Taron's avatar Philip Taron Committed by GitHub
Browse files

applyPatches: fix the check for src.meta (#507265)

parents b618759e 45aa145c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1045,7 +1045,7 @@ rec {
        passthru = extraPassthru // finalAttrs.src.passthru or { };

        # Carry (and merge) information from the underlying `src` if present.
        meta = lib.optionalAttrs (src ? meta) (removeAttrs finalAttrs.src.meta [ "position" ]);
        meta = lib.optionalAttrs (finalAttrs.src ? meta) (removeAttrs finalAttrs.src.meta [ "position" ]);
      };
  };