Coder Social home page Coder Social logo

Comments (5)

Musilitar avatar Musilitar commented on July 21, 2024

+1

Having the exact same issue, and also don't understand the error message unfortunately.

from hfmt.

Ciantic avatar Ciantic commented on July 21, 2024

@Musilitar I got these weird messages subsequently a lot with other packages too. Maybe it's Windows problem. The Haskell tooling is such a mess.

However that and others can be actually fixed with the suggestion in the message:

Add stylish-haskell-0.9.2.0@sha256:c43a964348b144c9dbe82391b27a9010a53405a8edf3db80abde0ca1d7117911 to extra-deps array in C:\sr\global-project\stack.yaml

from hfmt.

Musilitar avatar Musilitar commented on July 21, 2024

@Ciantic

Thanks!
Yes I've been having some problems on Windows in general so I guess I'll switch to Linux again.
So this is probably not a problem of this package but just Stack on Windows.

from hfmt.

danstiner avatar danstiner commented on July 21, 2024

This is not a bug but a side effect of how stack works, since stylish-haskell and hindent are not in the stack snapshots so you'll have to manually add them to your stack.yaml as the build command suggested. I know that's annoying but unless someone maintains those packages in the stack snapshot I think that's just how it will be.

More info: https://docs.haskellstack.org/en/stable/stack_yaml_vs_cabal_package_file/

from hfmt.

danstiner avatar danstiner commented on July 21, 2024

To circle back on this, it isn't a linux vs Windows thing but just the way stack works with packages that are not part of the snapshot.

Things have gotten a bit better however, stylish-haskell is now part of stackage, so only hindent needs to be added manually.

from hfmt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.