Comparing x.outPath == prev.pnpm_10.outPath forces the pnpm_10 derivation. On nixpkgs pins where pnpm_10 is insecure-marked (nixos-26.05 ships 10.34.0 with 9 CVEs) that comparison alone throws "Refusing to evaluate" — even though the package is only discarded by the swap. Match on pname + major version instead: plain attrs, nothing forced, identical swap semantics on the m3ta pin.