Haiku License

What is the main license used for the Haiku OS code?

I watched a video online and saw it used the MIT license but also people have said that there is also some GPL licensed code in it (best license ever).

Most of the code is MIT licensed (best license ever)

I think it’s mostly external packages that are GPL licensed.

Oh okay. Thanks.