Shouldn't lndir be inside xorg?

I’m reading this code:

How come it accepts lndir when lndir is inside xorg, i.e. xorg.lndir.

callPackage also includes everything in xorg

Can you explain?

Line 123 doesn’t seem to use xorg:

splicedPackagesWithXorg, just going by the name, presumably already includes it in newScope