Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"stack build" fails while parsing library.dependencies #20

Open
p-alik opened this issue Feb 25, 2019 · 0 comments
Open

"stack build" fails while parsing library.dependencies #20

p-alik opened this issue Feb 25, 2019 · 0 comments

Comments

@p-alik
Copy link

p-alik commented Feb 25, 2019

$ stack --version
Version 1.9.3, Git revision 40cf7b37526b86d1676da82167ea8758a854953b (6211 commits) x86_64 hpack-0.31.1
$ stack build 
/opt/devel/haskell/hpack-convert/package.yaml: Error while parsing $.library.dependencies - expected Array, Object, or String, encountered Null

To solve the issue, an empty dependencies within library should be removed.

$ git diff package.yaml
diff --git a/package.yaml b/package.yaml
index fa859b4..757d696 100644
--- a/package.yaml
+++ b/package.yaml
@@ -30,7 +30,6 @@ dependencies:
 
 library:
   source-dirs: src
-  dependencies:
   exposed-modules:
     - Hpack.Convert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant