Lookup builder in PATH if they are given without path.
authorMoritz Angermann <moritz.angermann@gmail.com>
Wed, 6 Jan 2016 15:22:43 +0000 (23:22 +0800)
committerMoritz Angermann <moritz.angermann@gmail.com>
Wed, 6 Jan 2016 15:22:53 +0000 (23:22 +0800)
commit44788518cb14c59788fdf320b9ca2d11e11509ca
treeca908b3edee614ff90acc50d70d32c109a914df5
parent0fee526aa68cff1b10d733ba4257fb3435276c66
Lookup builder in PATH if they are given without path.

`system-gcc` may be given without path (e.g. `clang`), this patch adds lookup using `which`
for those commands. Also drops calling `fixAbsolutePathOnWindows` on non window hosts.
Fixes #26
src/Builder.hs
src/Oracles/WindowsRoot.hs