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

dependency update 20230822 #22

Merged
merged 2 commits into from
Aug 29, 2023
Merged

dependency update 20230822 #22

merged 2 commits into from
Aug 29, 2023

Conversation

cdaloisio
Copy link
Contributor

@cdaloisio cdaloisio commented Aug 28, 2023

This is my first attempt updating this repo. I did a nix flake update which produced no change, and then a cabal update and cabal outdated which gave me a list of outdated packages.

I updated those in the cabal file, and cabal build and cabal test work perfectly fine, whereas nix build when I increased the package bounds for the text library.

error: builder for '/nix/store/irfna63jv3mzngilyr47yknb03pwcmr0-wai-handler-hal-0.2.0.0.drv' failed with exit code 1;
       last 10 log lines:
       > updateAutotoolsGnuConfigScriptsPhase
       > configuring
       > configureFlags: --verbose --prefix=/nix/store/lqmqrlhckn7y4v1m58cq10q7qp83s38a-wai-handler-hal-0.2.0.0 --libdir=$prefix/lib/$compiler --libsubdir=$abi/$libname --docdir=/nix/store/imz4qv65ci6lf3rjmhfhchg0jivznwlr-wai-handler-hal-0.2.0.0-doc/share/doc/wai-handler-hal-0.2.0.0 --with-gcc=gcc --package-db=/build/tmp.CNgTcnF4P8/package.conf.d --ghc-options=-j16 +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 --ghc-options=-haddock --extra-lib-dirs=/nix/store/00914xy1p14vd8qy23lrjd165rnxy3h2-ncurses-6.4/lib --extra-lib-dirs=/nix/store/g8l012l0q2xbl27da8zipg39mnpf40gb-libffi-3.4.4/lib --extra-lib-dirs=/nix/store/c6v3ix7r8gy6fgq1jssswkdk4xnk8fwk-gmp-with-cxx-6.2.1/lib
       > Using Parsec parser
       > Configuring wai-handler-hal-0.2.0.0...
       > CallStack (from HasCallStack):
       >   withMetadata, called at libraries/Cabal/Cabal/src/Distribution/Simple/Utils.hs:370:14 in Cabal-3.8.1.0:Distribution.Simple.Utils
       > Error: Setup: Encountered missing or private dependencies:
       > text >=1.2.3 && <1.3 || >=2.1 && <2.2
       >
       For full logs, run 'nix log /nix/store/irfna63jv3mzngilyr47yknb03pwcmr0-wai-handler-hal-0.2.0.0.drv'.

If someone can help me out on this one, that would be ace. I've reverted the change for the text library bounds update and everything builds correctly.

Copy link
Member

@JackKelly-Bellroy JackKelly-Bellroy left a comment

Choose a reason for hiding this comment

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

I think you can still raise the text bound; see the comment.

You can force testing with the raised bounds using something like cabal test --constraint 'text >=2.1' --allow-newer text

wai-handler-hal.cabal Outdated Show resolved Hide resolved
@cdaloisio cdaloisio merged commit 7bcfe51 into master Aug 29, 2023
20 checks passed
@cdaloisio cdaloisio deleted the dependency-update-20230822 branch August 29, 2023 03:27
cdaloisio added a commit that referenced this pull request Aug 29, 2023
cdaloisio added a commit that referenced this pull request Aug 29, 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.

3 participants