Skip to content

Commit

Permalink
Merge pull request #1076 from ekmett/less-allow-newer-b
Browse files Browse the repository at this point in the history
Less allow-newer stanzas (-cassava, +async)
  • Loading branch information
phadej authored Aug 3, 2024
2 parents d368753 + 0ddd747 commit 506a250
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/haskell-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ jobs:
if [ $((HCNUMVER >= 80200)) -ne 0 ] ; then echo "package lens-properties" >> cabal.project ; fi
if [ $((HCNUMVER >= 80200)) -ne 0 ] ; then echo " ghc-options: -Werror=missing-methods" >> cabal.project ; fi
cat >> cabal.project <<EOF
allow-newer: cassava-0.5.3.1:hashable
allow-newer: async-2.2.5:hashable
EOF
$HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: any.$_ installed\n" unless /^(lens|lens-examples|lens-properties)$/; }' >> cabal.project.local
cat cabal.project
Expand Down
4 changes: 3 additions & 1 deletion cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ packages: .
./lens-properties

-- TODO: remove this when dependencies catch up
allow-newer: cassava-0.5.3.1:hashable
-- https://github.com/simonmar/async/issues/157
-- otherwise an old async-1.4 is picked
allow-newer: async-2.2.5:hashable

0 comments on commit 506a250

Please sign in to comment.