haskell-generic-builder: use the configured build environment to compile Setup.hs

The file may import any of the declared buildInputs and compilation will fail
if those aren't found by the compiler. See git-annex for a concrete example.