OPINION
This case involves a dispute concerning respondent’s installation of a metal roof on appellant’s warehouse. The principal issues in this appeal are whether the district court erred by finding that defects in the warehouse’s eaves were not functionally substantial, whether the district court erred by not reducing the amount of respondent’s mechanic’s lien to reflect the costs needed to repair the eaves, and whether the district court wrongly *566 awarded compensation to respondent for uninstalled materials ruined in a flood of the construction site. We find the district court erred on all three of these issues.
FACTS
Appellant, E. Ted Hermann and Jane D. Hermann, a 1978 Living Trust (Hermann), owns a large metal warehouse in Sparks, Nevada. Hermann and respondent, Varco-Pruden Buildings, a unit of AMCA International Corporation (AMCA), executed a subcontract to install the warehouse’s roof for $969,845.00. The roof is quite large, approximately 250,000 square feet. It consists of thousands of individual metal panels. During installation of the roof, there were problems with misalignment of the panels. The misalignment and its effects resulted in this dispute between the parties. In addition, on or about February 17, 1986, torrential rains flooded the work site and damaged approximately $33,969.00 of uninstalled insulation and other materials belonging to Varco-Pruden.
Subsequently, a dispute arose as to the proper amount of Varco-Pruden’s compensation. When Varco-Pruden was not paid the full contract price plus the sum for the insulation and other materials, it filed a mechanic’s lien against the warehouse for the balance. Varco-Pruden later filed suit, seeking enforcement of the lien, damages, interest, and attorney’s fees. Hermann subsequently filed a counterclaim against Varco-Pruden, asserting the roof was improperly constructed and that it suffered damages caused by Varco-Pruden’s failure to timely complete the job.
At the conclusion of trial, the district court, in essence, found that Varco-Pruden substantially performed the roofing job. After subtracting delay and miscellaneous defective work damages from the lien amount, the district court awarded Varco-Pruden $127,180.89 plus interest and attorney’s fees. The cost for the insulation and other materials is included in this figure. Hermann agrees that Varco-Pruden substantially performed the roofing job.
DISCUSSION
On appeal, Hermann argues that the district court erred in finding that the defects in the eaves are not functionally substantial.
This argument has merit. Findings of fact of the district court will not be set aside unless clearly erroneous. Trident Construction Corp. v. West Electric, Inc.,
Next, Hermann asserts that even though Varco-Pruden substantially performed the roofing job, the district court erred by not reducing the lien amount by the cost of repairing the eaves.
This assertion has merit. In Nevada, if a party has substantially performed, it may recover the full'contract price minus the necessary expenses to complete the bargained for performance. Thompson v. Herrmann,
Finally, Hermann maintains that Varco-Pruden bore the risk of loss for the damaged insulation and other materials. Thus, Her-mann contends that the district court erred by awarding compensation to Varco-Pruden for the loss of these materials.
This contention has merit. This is not a sales subcontract, but rather one for the incorporation of labor and materials into a building. Mainland v. Alfred Brown Co.,
Therefore, we affirm in part and reverse in part the judgment below. We further remand this case to the district court for findings consistent with this opinion and to adjust the amount of Varco-Pruden’s judgment accordingly.
Having considered the parties’ remaining arguments, we conclude they lack merit.
