Giter Site home page Giter Site logo

Comments (7)

swsnr avatar swsnr commented on June 22, 2024

No, there isn't yet. This requires deeper changes to Flycheck, see flycheck/flycheck#813. It'll come, some day, but not any time soon. It's a larger and deeper change, it requires careful testing, and that takes time that I don't have currently.

from flycheck-haskell.

swsnr avatar swsnr commented on June 22, 2024

I'm closing this issue, please subscribe to flycheck/flycheck#813 to keep track of this. Thank you for your feedback.

from flycheck-haskell.

jprupp avatar jprupp commented on June 22, 2024

The Flycheck change seems to have happened, but this still doesn't work for me.

from flycheck-haskell.

sergv avatar sergv commented on June 22, 2024

@XenoG Can you provide a reproducible test case?

from flycheck-haskell.

jprupp avatar jprupp commented on June 22, 2024

@sergv, clone this repository in Spacemacs with the haskell and syntax-checking layers and then open this file. You should see this error near embedFile:

   109  12 error           • Exception when trying to run compile-time code:
     config/config.yml: openBinaryFile: does not exist (No such file or directory)
   Code: embedFile "config/config.yml"
 • In the untyped splice: $(embedFile "config/config.yml") (haskell-stack-ghc)

from flycheck-haskell.

sergv avatar sergv commented on June 22, 2024

@XenoG I have reproduced the problem and I think I know what's causing the issue. The issue with current directory was resolved and now ghc is being executed from the directory that contains stack.yaml file, which in this case in the root of the project. However, file path is specified relative to root of subproject, thus the does not exist error. However, I cannot think from the top of my head of any reasonable strategy to deal with this issue...

from flycheck-haskell.

jprupp avatar jprupp commented on June 22, 2024

Great, if the working directory is that one where the stack.yaml file is, I know exactly what I can do to patch the problem in my code.

from flycheck-haskell.

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.