This should probably be `stdenv.lib.optional stdenv.isDarwin ./fixMACOSXplatform763.patch` to avoid enabling that patch on non-Darwin platforms. Or even better: maybe we can avoid the patch altogether (see comment below).