You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a followup from #2089, we should be helpful to the user and suggest fixes whenever we can. In particular, it's confusing that a stack exec command might fail because git, pkg-config or some other tool is not present, when it's most likely installed in the user's host environment.
In particular, if --nix is passed an the stack subprocess fails to find the git command, Stack should suggest adding it to the buildInputs. Likewise for pkg-config. There's really not much else that Stack would need for building that isn't app specific.
As a followup from #2089, we should be helpful to the user and suggest fixes whenever we can. In particular, it's confusing that a
stack exec
command might fail becausegit
,pkg-config
or some other tool is not present, when it's most likely installed in the user's host environment.In particular, if
--nix
is passed an thestack
subprocess fails to find the git command, Stack should suggest adding it to the buildInputs. Likewise forpkg-config
. There's really not much else that Stack would need for building that isn't app specific.cc @YPares @rrnewton
The text was updated successfully, but these errors were encountered: