Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Oct 7, 2020. It is now read-only.
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Emacs: flymake is not able to use hie as backend #1648

Open
@schnecki

Description

I have following cabal file, where I left out uninteresting parts:

cabal-version: 1.12
name: app
version: 0.1.0
build-type: Simple
library
 exposed-modules:
 Application
 DataTypes
 ...
 hs-source-dirs:
 src
 shared
 default-extensions: NoImplicitPrelude, ViewPatterns
 build-depends:
 aeson >=1.4 && <1.5
 ...
 , zip
 ghc-options: -Wall -fwarn-tabs -O2
 default-language: Haskell2010
 
executable devboardserver
 main-is: main.hs
 other-modules:
 DevelMain
 Paths_devboardserver
 hs-source-dirs:
 app
 default-extensions: NoImplicitPrelude, ViewPatterns
 ghc-options: -threaded -rtsopts -with-rtsopts=-N
 build-depends:
 aeson >=1.4 && <1.5
 ...
 , zip
 default-language: Haskell2010

Note the hs-soure-dirs entry of the library, it states two folders: src as usual, and shared in the project root directory. However files under shared, like shared/DataTypes.hs are not found, i.e. included when building. I could not find a way to configure multiple paths that are not sub-directories of src. Is there an intended way to do so, as it does not work automatically?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /