Both spellings are correct and refer to the same thing:
* Pyx/Pix: a small, usually ornamented box or case, especially one used for holding the consecrated Host in the Roman Catholic Church.
It's worth noting that "pyx" is the more common spelling.