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

Custom snapshot and explicit lower bounds #108

Merged
merged 5 commits into from
Sep 27, 2023
Merged

Custom snapshot and explicit lower bounds #108

merged 5 commits into from
Sep 27, 2023

Conversation

fizruk
Copy link
Member

@fizruk fizruk commented Sep 27, 2023

  • Custom snapshot is used to speedup builds on CI (avoid rebuilding lsp in particular)
  • Lower bounds are taken from Stackage LTS 13.1 (the earliest LTS for GHC 8.6).

Funnily enough, GHC panics when trying to build the old version:

stack build --stack-yaml=stack-8.6.5.yaml
ghc: panic! (the 'impossible' happened)
  (GHC version 8.6.5 for x86_64-apple-darwin):
        Prelude.chr: bad argument: 3179719811

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug


Error: [S-6374]
       While building simple Setup.hs (scroll up to its section to see the error) using:
       /Users/nikolaikudasov/.stack/programs/x86_64-osx/ghc-8.6.5/bin/ghc-8.6.5 -rtsopts -threaded -clear-package-db -global-package-db -hide-all-packages -package base -main-is StackSetupShim.mainOverride -package Cabal-2.4.0.1 /Users/nikolaikudasov/.stack/setup-exe-src/setup-6HauvNHV.hs /Users/nikolaikudasov/.stack/setup-exe-src/setup-shim-6HauvNHV.hs -o /Users/nikolaikudasov/.stack/setup-exe-cache/x86_64-osx/tmp-Cabal-simple_6HauvNHV_2.4.0.1_ghc-8.6.5
       Process exited with code: ExitFailure 1 

@fizruk fizruk changed the title Provide explicit lower bounds for dependencies of rzk Custom snapshot and explicit lower bounds Sep 27, 2023
@fizruk fizruk merged commit a3200d6 into develop Sep 27, 2023
2 checks passed
@fizruk fizruk deleted the add-deps-bounds branch September 27, 2023 15:26
@fizruk fizruk mentioned this pull request Sep 27, 2023
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.

None yet

1 participant