Repair needed to buy or not to buy

Greetings all, I test drove a 2019 Nissan Rogue with 80,000 miles $16,528 OTD. The pre-purchase inspection shows repairs are need are front brakes, cv joints, and cv axle. I was quote $2500 and the dealer said they can do it for $1350. They said that the cost of repair would be rolled into the cost of the car so with taxes and everything it would be 17,973.94 out of the door which would not leave space for me to add gap insurance or an extended warranty based on my budget. They also said I can take it as is because the price is below value. I asked if this was not a standard repair and they said it depends. Any advice? Is this standard practice?