Exhibit 23.2

Consent of Independent Registered Public Accounting Firm

We consent to the reference to our firm under the caption “Experts” and to the use of our report dated May 18, 2017, with respect to the financial statements of Alpine Immune Sciences, Inc. included in this Registration Statement on Form S-4 and related proxy statement/prospectus/information statement of Nivalis Therapeutics, Inc. for the registration of shares of its common stock.

/s/ Ernst & Young LLP

Seattle, Washington

May 18, 2017