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

Copy working stack-8.6.5.yaml to stack.yaml #332

Merged
merged 1 commit into from
Aug 17, 2020

Conversation

jneira
Copy link
Member

@jneira jneira commented Aug 16, 2020

PS D:\dev\ws\haskell\hls> stack build

Error: While constructing the build plan, the following exceptions were encountered:

In the dependencies for HsYAML-aeson-0.2.0.0:
    aeson dependency cycle detected: aeson, these, aeson, ghcide
needed due to haskell-language-server-0.3.0.0 -> HsYAML-aeson-0.2.0.0

Dependency cycle detected in packages:
    [aeson,these,aeson,ghcide]

In the dependencies for aeson-pretty-0.8.8:
    aeson dependency cycle detected: aeson, these, aeson, ghcide
needed due to ghcide-0.2.0 -> aeson-pretty-0.8.8

In the dependencies for brittany-0.12.1.1:
    aeson dependency cycle detected: aeson, these, aeson, ghcide
needed due to haskell-language-server-0.3.0.0 -> brittany-0.12.1.1

In the dependencies for floskell-0.10.4:
    aeson dependency cycle detected: aeson, these, aeson, ghcide
needed due to haskell-language-server-0.3.0.0 -> floskell-0.10.4

In the dependencies for fourmolu-0.1.0.0:
    aeson dependency cycle detected: aeson, these, aeson, ghcide
needed due to haskell-language-server-0.3.0.0 -> fourmolu-0.1.0.0

In the dependencies for haskell-language-server-0.3.0.0(+pedantic):
    aeson dependency cycle detected: aeson, these, aeson, ghcide
needed since haskell-language-server is a build target.

In the dependencies for haskell-lsp-0.22.0.0:
    aeson dependency cycle detected: aeson, these, aeson, ghcide
needed due to ghcide-0.2.0 -> haskell-lsp-0.22.0.0

In the dependencies for haskell-lsp-types-0.22.0.0:
    aeson dependency cycle detected: aeson, these, aeson, ghcide
needed due to ghcide-0.2.0 -> haskell-lsp-types-0.22.0.0

In the dependencies for hie-bios-0.6.1:
    aeson dependency cycle detected: aeson, these, aeson, ghcide
needed due to ghcide-0.2.0 -> hie-bios-0.6.1

In the dependencies for lsp-test-0.11.0.4:
    aeson dependency cycle detected: aeson, these, aeson, ghcide
needed due to ghcide-0.2.0 -> lsp-test-0.11.0.4

In the dependencies for stylish-haskell-0.11.0.3:
    aeson dependency cycle detected: aeson, these, aeson, ghcide
needed due to haskell-language-server-0.3.0.0 -> stylish-haskell-0.11.0.3
In the dependencies for these-1.0.1:
    aeson dependency cycle detected: aeson, these, aeson, ghcide

In the dependencies for yaml-0.11.2.0:

Some different approaches to resolving this:

Plan construction failed.

stack-8.6.5.yaml does work

@jneira jneira changed the title Copy from working stack-8.6.5.yaml Copy working stack-8.6.5.yaml to stack.yaml Aug 16, 2020
Copy link
Member

@Ailrun Ailrun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm... I don't understand why aeson == 1.5.2.0 is able to use these < 1.1 (which causes the problem) as its dependency.
Anyway, thank you for the update!

stack.yaml Outdated Show resolved Hide resolved
Copy link
Collaborator

@sir4ur0n sir4ur0n left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This works on my computer 😄

- regex-base-0.94.0.0
- regex-pcre-builtin-0.95.1.1.8.43
- regex-tdfa-1.3.1.0
- retrie-0.1.1.1
- semialign-1.1
# - github: wz1000/shake
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is useful? 😅

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably, @alanz commented out it a while ago
lets merge this as is, to avoid problems to stack users, we can clean all the stack yamls in the next version bump

@jneira jneira merged commit 17b2335 into haskell:master Aug 17, 2020
@jneira jneira deleted the fix-stack-yaml branch August 17, 2020 19:40
pepeiborra pushed a commit that referenced this pull request Dec 27, 2020
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

Successfully merging this pull request may close these issues.

3 participants