Skip to content

Commit

Permalink
chore(hackage): bump index-state, more strict PvP
Browse files Browse the repository at this point in the history
Setting `allow-newer: all` is finally catching up to us, so we go back
to a more strict policy, and override only what's necessary (mainly
due to a few packages not explicitly supporting GHC 9.10 yet).

Also, we bump servant & friends to the latest version.

Signed-off-by: Drew Hess <[email protected]>
  • Loading branch information
dhess committed Nov 3, 2024
1 parent e1fc18e commit 4eb3190
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions cabal.project
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
index-state: 2024-07-13T00:00:00Z
index-state: 2024-11-02T00:00:00Z

jobs: $ncpus

Expand Down Expand Up @@ -30,7 +30,7 @@ haddock-quickjump: True
haddock-hyperlink-source: True
haddock-internal: True

allow-newer: all
allow-newer: servant-openapi3:base, openapi3:*, selda:*

package *
ghc-options: -fwrite-ide-info
Expand Down
3 changes: 2 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -442,12 +442,13 @@
"fail"
];

# These packages don't generate HIE files. See:
# These packages don't/can't generate HIE files. See:
# https://github.com/input-output-hk/haskell.nix/issues/1242
packages.mtl-compat.writeHieFiles = false;
packages.bytestring-builder.writeHieFiles = false;
packages.fail.writeHieFiles = false;
packages.diagrams.writeHieFiles = false;
packages.happy-lib.writeHieFiles = false;
}
{
#TODO This shouldn't be necessary - see the commented-out `build-tool-depends` in primer.cabal.
Expand Down
8 changes: 4 additions & 4 deletions primer-service/primer-service.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ library
, primer-api ^>=0.7.2
, refined ^>=0.8
, semirings >=0.6 && <0.8
, servant >=0.18 && <0.20.2
, servant-client >=0.18 && <0.20.2
, servant-client-core >=0.18 && <0.20.2
, servant >=0.18 && <0.20.3
, servant-client >=0.18 && <0.20.3
, servant-client-core >=0.18 && <0.20.3
, servant-openapi3 ^>=2.0.1.2
, servant-server >=0.18 && <0.20.2
, servant-server >=0.18 && <0.20.3
, stm ^>=2.5
, stm-containers >=1.1 && <1.3.0
, streaming-commons ^>=0.2.2.4
Expand Down

0 comments on commit 4eb3190

Please sign in to comment.