haskell / haskell-ide-engine

The engine for haskell ide-integration. Not an IDE
BSD 3-Clause "New" or "Revised" License
2.38k stars 210 forks source link

Cannot install hie,using instructions found on vacationslab #569

Closed h2000Stefanov closed 6 years ago

h2000Stefanov commented 6 years ago

hstefanov@pop-os:~/.local/haskell-ide-engine$ stack install Stack looks for packages in the directories configured in the 'packages' and 'extra-deps' fields defined in your stack.yaml The current entry points to /home/hstefanov/.local/haskell-ide-engine/submodules/HaRe/ but no .cabal or package.yaml file could be found there.

When trying to install hlint: Warning: Installation path /.local/bin not found on the PATH environment variable.

And afterwards:

Stack looks for packages in the directories configured in the 'packages' and 'extra-deps' fields defined in your stack.yaml The current entry points to /home/hstefanov/.local/haskell-ide-engine/submodules/HaRe/ but no .cabal or package.yaml file could be found there.

Operating system: Pop!OS,based on Ubuntu 18.04.

alanz commented 6 years ago

Please provide a link to the instructions you followed to get to this point.

emaphis commented 6 years ago

I'm guessing he's following this. https://www.vacationlabs.com/haskell/environment-setup.html

Anrock commented 6 years ago

Looks like instructions on that site should be updated with --recursive flag to git clone command.

alanz commented 6 years ago

cc @saurabhnanda

saurabhnanda commented 6 years ago

@h2000Stefanov @AndreasVoellmy If --recursive the confirmed solution I can push a fix to the docs immediately. Else this might have to wait a few days. Just got back from vacations and have a lot of emails to look at.

alanz commented 6 years ago

@saurabhnanda I am pretty sure that will sort it out, introducing submodules has caused that problem in a number of different install instructions.

Anrock commented 6 years ago

Reopen if recursive clone doesn't help.