From pot + luck. According to the Oxford English Dictionary, sense 3 (“a shared meal consisting of whatever guests have brought”) is unlikely to have been influenced by potlatch even though it has the same meaning.
Practice speaking and memorizing "potluck" and many other words and sentences in English.