Closed peti closed 6 years ago
@peti tldr
assumes the executable git
present in it's path. It internally uses shell-conduit
which has the TH magic to bring all the executable in $PATH as functions.
I will try to see if I can give a proper error message if no executable is found.
I added git
to $PATH for the build, but that makes no difference: the error message is the same.
Generally speaking, you should probably declare required build-tools in the Cabal file, which has an attribute for precisely that purpose.
@peti I don't know about build-tools
and will look into it, thanks. My guess is: You may need to recompile shell-conduit
package again to make it work.
I usually do stack clean
for the project and then bringing git
under $PATH makes it work. Not sure how it is the case with Nix.
I'm closing the issue as tldr
seems to be building fine in the latest nix: https://hydra.nixos.org/build/67409580