Hardcore way of using "classic" version of hdevtools with stack.
First build and install the "classic" version of hdevtools, using stack:
$ cd /tmp
$ git clone --depth 1 https://github.com/bitc/hdevtools.git
$ cd hdevtools
# Modify the flags in the following line to use the same settings you use in your project:
$ stack --install-ghc --no-system-ghc --resolver lts-7.1 init
$ stack install