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

This commit is contained in:
Philip Taron
2026-04-06 16:48:14 +00:00
committed by GitHub
@@ -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" ]);
};
};