Commit 4cbcaad
committed
libstore/registerOutputs: Don't try to optimize a non-existent actualPath
Since 3c610df this resulted in `getting status of`
errors on paths inside the chroot if a path was already valid. Careful inspection
of the logic shows that if buildMode != bmCheck actualPath gets reassigned to
store.toRealPath(finalDestPath). The only branch that cares about actualPath is
the buildMode == bmCheck case, which doesn't lead to optimisePath anyway.1 parent f84b336 commit 4cbcaad
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1742 | 1742 | | |
1743 | 1743 | | |
1744 | 1744 | | |
1745 | | - | |
1746 | 1745 | | |
1747 | 1746 | | |
1748 | 1747 | | |
| |||
1756 | 1755 | | |
1757 | 1756 | | |
1758 | 1757 | | |
1759 | | - | |
1760 | 1758 | | |
1761 | 1759 | | |
1762 | 1760 | | |
| |||
1809 | 1807 | | |
1810 | 1808 | | |
1811 | 1809 | | |
1812 | | - | |
| 1810 | + | |
| 1811 | + | |
| 1812 | + | |
1813 | 1813 | | |
1814 | 1814 | | |
1815 | 1815 | | |
| |||
0 commit comments