Skip to content

Commit 1dd8791

Browse files
committed
try to unbreak CI tests for older GHC
1 parent 72fdeef commit 1dd8791

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/haskell-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ jobs:
215215
echo " ghc-options: -Werror=missing-methods" >> cabal.project
216216
cat >> cabal.project <<EOF
217217
EOF
218-
$HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: $_ installed\n" unless /^(binary|containers|ghc-heap|strict-containers|strict-containers-lens|strict-containers-serialise|strict-containers-tests|text)$/; }' >> cabal.project.local
218+
$HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: $_ installed\n" unless /^(base|binary|containers|ghc-heap|strict-containers|strict-containers-lens|strict-containers-serialise|strict-containers-tests|text)$/; }' >> cabal.project.local
219219
cat cabal.project
220220
cat cabal.project.local
221221
- name: dump install plan

cabal.haskell-ci

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ jobs-selection: any
99
-- we depend on containers which is a core package (comes installed with ghc)
1010
-- by default, haskell-ci forbids these from being upgraded; override that here
1111
-- also override the rdeps of containers, as per their haskell-ci config
12-
installed: +all -containers -binary -text -ghc-heap
12+
installed: +all -containers -binary -text -ghc-heap -base

0 commit comments

Comments
 (0)