Mistuke / HaskellDevChoco

Opinionated Haskell Development environment using Chocolatey and Cabal for Windows.
MIT License
0 stars 0 forks source link

Stack seems to be missing ... from either the package or the doco #2

Open adamburkegh opened 3 years ago

adamburkegh commented 3 years ago

Hi team

Not completely new to Haskell but new to the modern Haskell stack.

On the Haskell Platform home page, it says

A multi-OS distribution designed to get you up and running quickly, making it easy to focus on using Haskell. You get: the Glasgow Haskell Compiler the Cabal build system the Stack tool for developing projects support for profiling and code coverage analysis 35 core & widely-used packages

However when I use the choco build - which is the recommended one on that page, there's no Stack.

>choco list --localonly
Chocolatey v0.10.15
cabal 3.2.0.0
chocolatey 0.10.15
chocolatey-core.extension 1.3.5.1
ghc 8.10.2.1
haskell-dev 0.0.1
...

And sure enough when I have a look in haskell-dev.nuspec

        <dependencies>
            <dependency id="ghc-head" version="8.6.4" />
            <dependency id="cabal-head" version="3.0.0.0" />
            <dependency id="msys2" />
        </dependencies>

Not sure about the other profiling tools and packages either.

If this is an oversight, could it be included? If this is by design or a known limitation, could it be better advertised? It doesn't seem right to advertise a platform installer that is missing half the platform. Perhaps it is to be expected given it is version 0.0.1, but in that case, maybe it shouldn't be the advertised default? It's all fixable but certainly cost me some stuffing around, and I'm sure it is unnecessary hurdles for those new to Haskell.

Cheers for your community work, but would be great to clean this up. Adam

adamburkegh commented 3 years ago

Others seem to have been impacted too https://stackoverflow.com/questions/61517033/stack-command-not-found-after-installing-haskell-platform-for-windows

LouisMach commented 3 years ago

Commenting to say I also ran into this issue.

Kerwin123 commented 3 years ago

Same here