applyPatches: fix the check for src.meta

If finalAttrs.src.meta is used, then its presence and not src.meta should be the condition
This commit is contained in:
7c6f434c
2026-04-06 15:00:46 +02:00
parent f0eb972570
commit 45aa145c8a
@@ -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" ]);
};
};