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
I think that it works for Cabal is the most important, as I already covered:
If people use nix-build, we can just ask them to give us the cabal from nix-shell, which is a sort of close approximation, and if fields are empty, well - they are just additional maybe helpful info that happened to be empty. We just can request nix-shellcabal build info, which roughly approximate the case. We also may request people to try to provide commit hash manually, and UNKNOWN sort-of encourages it, if they can do it.
Haskell Language Server for Nix environments in the foreseen future would use only nix-shellcabal.
If we would develop the nix-build addition, the cabal should work also at the same time.
And it would mean that we would need to include in our Nix conf, as well Nixpkgs would need this also.
#717 (comment)
cabal
works.nix-build
ing gives:Thank you, @alexfmpe, for #717 (comment) info:
Ran into this exact issue on a
--version
for a CLI.One can workaround by wrapping the executable and passing git data as environment variables:
Downside is that it breaks
--version
fornix-shell
cabal
, though maybe more wrapping could fix that.Lets track question here.
The text was updated successfully, but these errors were encountered: