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

haskell-language-server: Build fails on GHC 8.10.* #97743

Closed
Galagora opened this issue Sep 11, 2020 · 3 comments · Fixed by #97744
Closed

haskell-language-server: Build fails on GHC 8.10.* #97743

Galagora opened this issue Sep 11, 2020 · 3 comments · Fixed by #97744

Comments

@Galagora
Copy link
Contributor

Galagora commented Sep 11, 2020

Describe the bug
data-tree-print, a nested dependency, requires base < 4.1.14.

To Reproduce

$ nix-shell -p haskell.packages.ghc8102.haskell-language-server
...
Configuring data-tree-print-0.1.0.2...
...
Setup: Encountered missing or private dependencies:
base >=4.8 && <4.14

builder for '/nix/store/r64ljzwip4kbs7028zikybbzfywbshm1-data-tree-print-0.1.0.2.drv' failed with exit code 1
cannot build derivation '/nix/store/993w8c1b6rv4zf6kb30xl08qmvrlkb8g-brittany-0.12.1.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/kykvvrh65s2bfd9l3w4bdyva4bjzrhl9-haskell-language-server-0.4.0.0.drv': 1 dependencies couldn't be built
error: build of '/nix/store/kykvvrh65s2bfd9l3w4bdyva4bjzrhl9-haskell-language-server-0.4.0.0.drv' failed
@xaverdh
Copy link
Contributor

xaverdh commented Sep 12, 2020

Can probably be closed now?

@Galagora
Copy link
Contributor Author

Yes, I thought that would happen automatically.

@fakedrake
Copy link

I just bumped on (something very similar to?) this:

$ nix-shell -p haskell.packages.ghc8104.haskell-language-server
...
configureFlags: --verbose --prefix=/nix/store/ajxhjrqmd26jq4y4z113bq75gyvgbgh7-data-tree-print-0.1.0.2 --libdir=$prefix/lib/$compiler --libsubdir=$abi/$libname --docdir=/nix/store/38m6rvr71584y4gvv21rhpdaxrmn01lg-data-tree-print-0.1.0.2-doc/share/doc/data-tree-print-0.1.0.2 --with-gcc=gcc --package-db=/build/package.conf.d --ghc-options=-j4 +RTS -A64M -RTS --disable-split-objs --enable-library-profiling --profiling-detail=exported-functions --disable-profiling --enable-shared --disable-coverage --enable-static --disable-executable-dynamic --enable-tests --disable-benchmarks --enable-library-vanilla --disable-library-for-ghci --ghc-option=-split-sections --extra-lib-dirs=/nix/store/2dfap74q83z6q1kc9ha6ldl4nmqhmc9w-ncurses-6.2/lib --extra-lib-dirs=/nix/store/zi7j496snmhhaam2qwlkpm0dif0vj8i8-libffi-3.3/lib --extra-lib-dirs=/nix/store/1lj2b24v408awrfxw6xxv9spm9023lva-gmp-6.2.0/lib
Using Parsec parser
Configuring data-tree-print-0.1.0.2...
CallStack (from HasCallStack):
  $, called at libraries/Cabal/Cabal/Distribution/Simple/Configure.hs:1024:20 in Cabal-3.2.1.0:Distribution.Simple.Configure
  configureFinalizedPackage, called at libraries/Cabal/Cabal/Distribution/Simple/Configure.hs:477:12 in Cabal-3.2.1.0:Distribution.Simple.Configure
  configure, called at libraries/Cabal/Cabal/Distribution/Simple.hs:625:20 in Cabal-3.2.1.0:Distribution.Simple
  confHook, called at libraries/Cabal/Cabal/Distribution/Simple/UserHooks.hs:65:5 in Cabal-3.2.1.0:Distribution.Simple.UserHooks
  configureAction, called at libraries/Cabal/Cabal/Distribution/Simple.hs:180:19 in Cabal-3.2.1.0:Distribution.Simple
  defaultMainHelper, called at libraries/Cabal/Cabal/Distribution/Simple.hs:116:27 in Cabal-3.2.1.0:Distribution.Simple
  defaultMain, called at Setup.hs:2:8 in main:Main
Setup: Encountered missing or private dependencies:
base >=4.8 && <4.14

builder for '/nix/store/gqlbd9i4cjwwbwc5j2qjcm3cq6yk0kwn-data-tree-print-0.1.0.2.drv' failed with exit code 1
building '/nix/store/9ifz8fsqhvfy8f82kjah596465znw699-blaze-html-0.9.1.2.drv'...
cannot build derivation '/nix/store/caxwyj1cmlvdn3xw56kgwyps605ah199-brittany-0.12.1.1.drv': 1 dependencies couldn't be built
building '/nix/store/791x22dk3mg6v975a51rqk3cazgwzxxi-fingertree-0.1.4.2.drv'...
building '/nix/store/m0r41n6a7ng5grhzgr9vin1gjhz951fg-generic-deriving-1.13.1.drv'...
building '/nix/store/8gc31q5dvgjbkmcw3sgx7wh996v6l0ms-ghc-check-0.5.0.1.drv'...
cannot build derivation '/nix/store/ijfmibbv8d6khj5qlbl657rmlc1av3rf-haskell-language-server-0.4.0.0.drv': 1 dependencies couldn't be built
error: build of '/nix/store/ijfmibbv8d6khj5qlbl657rmlc1av3rf-haskell-language-server-0.4.0.0.drv' failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants