Here is an even more detailed answer, since the last one does not explicitly state that it made use of the simple property: $\frac{d}{dy} f(x)=0$.
Let:
$$F(x) = \int_{-\infty}^{x}{f(t)dt}$$
Then, by the Fundamental Theorem of Calculus, it holds that:
$$F(x) = F_f(x) - F_f(-\infty) \tag{1}$$
where $F_f(x)$ is the antiderivative (indefinite integral) of $f(x)$, i.e.:
$$F_f(x) = \int{f(x)dx} \tag{2}$$
$\rm (1)$ is inserted into $F'(x)$:
$$\begin{align}
F'(x) &= \frac{d}{dx}F(x) \\
&\overset{\rm{(1)}}{=} \frac{d}{dx}(F_f(x) - F_f(-\infty)) \\
&= \frac{d}{dx}F_f(x) - \frac{d}{dx}F_f(-\infty) \\
& \overset{\rm{(2)}}{=} f(x) - 0 \\
\end{align}$$
The last equality holds because the argument $x$, that the derivation is done with respect to, is not present in $F_f(-\infty)$. Thus $F'(x) = f(x)$, regardless of the lower bound of the integral that $F(x)$ is defined over (here: $-\infty$).