
19 Mar
2014
19 Mar
'14
1:55 p.m.
Hi Alexander,
Such requirement (dependency on executable) can't be covered by the cabal file (at least with 'simple' build type).
it's true that Cabal lacks a field specifically for such run-time dependencies, but in the absence of such a stanza using "build-tools" is a good workaround. The build process can then determine the complete path of, say, lsof and bake it into the binary. It's a work-around, though, abusing build-tools in this way is far from ideal. Take care, Peter