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

Upper bound on proto3-wire dependency breaks current builds on Nix (Stack + Nix integration) #39

Closed
coderfromhere opened this issue Jul 3, 2020 · 0 comments · Fixed by #40

Comments

@coderfromhere
Copy link

Build with /nix/store/f520j7wfgp9h2mmq6rk36r6vgsb279sf-ghc-8.8.3.
unpacking sources
unpacking source archive /nix/store/qhkylxzwd3g4zq9wwvpps8camycbi6m9-http2-grpc-proto3-wire-0.1.0.0.tar.gz
source root is http2-grpc-proto3-wire-0.1.0.0
setting SOURCE_DATE_EPOCH to timestamp 1572985582 of file http2-grpc-proto3-wire-0.1.0.0/http2-grpc-proto3-wire.cabal
patching sources
compileBuildDriverPhase
setupCompileFlags: -package-db=/private/var/folders/f8/z6c2znxs6xq0ylyhmxqvnjgh0000gp/T/nix-build-http2-grpc-proto3-wire-0.1.0.0.drv-0/setup-package.conf.d -j8 -threaded -rtsopts
[1 of 1] Compiling Main             ( Setup.hs, /private/var/folders/f8/z6c2znxs6xq0ylyhmxqvnjgh0000gp/T/nix-build-http2-grpc-proto3-wire-0.1.0.0.drv-0/Main.o )
Linking Setup ...
configuring
configureFlags: --verbose --prefix=/nix/store/4xm74mw8rfbb3q7x6wi2vxwd8x6kjr04-http2-grpc-proto3-wire-0.1.0.0 --libdir=$prefix/lib/$compiler --libsubdir=$abi/$libname --docdir=/nix/store/qnrdzf9hgpmckfhm4zlghk734ri21s9p-http2-grpc-proto3-wire-0.1.0.0-doc/share/doc/http2-grpc-proto3-wire-0.1.0.0 --with-gcc=clang --package-db=/private/var/folders/f8/z6c2znxs6xq0ylyhmxqvnjgh0000gp/T/nix-build-http2-grpc-proto3-wire-0.1.0.0.drv-0/package.conf.d --ghc-options=-j8 --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 --extra-include-dirs=/nix/store/cfzi980pixrc744yazrrklvbsrr76ql4-libc++-7.1.0/include --extra-lib-dirs=/nix/store/cfzi980pixrc744yazrrklvbsrr76ql4-libc++-7.1.0/lib --extra-include-dirs=/nix/store/8h7d310k65c5fiwb9aq505p535jv8lg4-libc++abi-7.1.0/include --extra-lib-dirs=/nix/store/8h7d310k65c5fiwb9aq505p535jv8lg4-libc++abi-7.1.0/lib --extra-include-dirs=/nix/store/9vxf05fr6jj4kg5j8qpalc6ggg87kfv2-compiler-rt-7.1.0-dev/include --extra-lib-dirs=/nix/store/j7lhhv42lbyxms8dnz8b86yq0i3dwxlb-compiler-rt-7.1.0/lib --extra-lib-dirs=/nix/store/g07i0gc32b46caiimskz846lwbl91wbw-ncurses-6.2/lib --extra-lib-dirs=/nix/store/3jnkm514bs4r4h6lz97jz0z79axnafjc-libffi-3.3/lib --extra-lib-dirs=/nix/store/xn8wzkc12d499xi9rglm9nhfxfyxglpn-gmp-6.2.0/lib --extra-include-dirs=/nix/store/xfz639prvjnrnm6k3wpcir9ahv278nr8-libiconv-osx-10.12.6/include --extra-lib-dirs=/nix/store/xfz639prvjnrnm6k3wpcir9ahv278nr8-libiconv-osx-10.12.6/lib --extra-framework-dirs=/nix/store/ixzl5ryiy599zqqhaqg54w70ccacszya-swift-corefoundation/Library/Frameworks
Using Parsec parser
Configuring http2-grpc-proto3-wire-0.1.0.0...
CallStack (from HasCallStack):
  die', called at libraries/Cabal/Cabal/Distribution/Simple/Configure.hs:1022:20 in Cabal-3.0.1.0:Distribution.Simple.Configure
  configureFinalizedPackage, called at libraries/Cabal/Cabal/Distribution/Simple/Configure.hs:475:12 in Cabal-3.0.1.0:Distribution.Simple.Configure
  configure, called at libraries/Cabal/Cabal/Distribution/Simple.hs:625:20 in Cabal-3.0.1.0:Distribution.Simple
  confHook, called at libraries/Cabal/Cabal/Distribution/Simple/UserHooks.hs:65:5 in Cabal-3.0.1.0:Distribution.Simple.UserHooks
  configureAction, called at libraries/Cabal/Cabal/Distribution/Simple.hs:180:19 in Cabal-3.0.1.0:Distribution.Simple
  defaultMainHelper, called at libraries/Cabal/Cabal/Distribution/Simple.hs:116:27 in Cabal-3.0.1.0:Distribution.Simple
  defaultMain, called at Setup.hs:2:8 in main:Main
Setup: Encountered missing or private dependencies:
proto3-wire >=1 && <1.1

The current available proto3-wire in Nix are https://lazamar.co.uk/nix-versions/?channel=nixpkgs-unstable&package=haskellPackages.proto3-wire

I wonder if it's relatively easy to bump the upper bound in a new quickfix release of this library?

@coderfromhere coderfromhere changed the title Upper bound on proto3-wire dependency breaks current builds on Nix (Stac + Nix integration) Upper bound on proto3-wire dependency breaks current builds on Nix (Stack + Nix integration) Jul 6, 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 a pull request may close this issue.

1 participant