Skip to content

Commit

Permalink
Patch upper bounds
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishmack committed Oct 24, 2024
1 parent 72a3838 commit ef2e2f8
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 4 deletions.
9 changes: 5 additions & 4 deletions overlays/bootstrap.nix
Original file line number Diff line number Diff line change
Expand Up @@ -255,10 +255,11 @@ in {
++ onWindowsOrMusl (fromUntil "9.8.2" "9.11" ./patches/ghc/ghc-9.6-0006-Adds-support-for-Hidden-symbols.patch)
++ onWindowsOrMusl (fromUntil "9.6" "9.7" ./patches/ghc/ghc-9.6-0006-Adds-support-for-Hidden-symbols-2.patch)
++ onWindowsOrMusl (fromUntil "9.8.2" "9.11" ./patches/ghc/ghc-9.6-0006-Adds-support-for-Hidden-symbols-2.patch)
++ fromUntil "9.9" "9.11" ./patches/ghc/ghc-9.9-Cabal-3.11.patch
++ fromUntil "9.8" "9.8.3" ./patches/ghc/ghc-9.8-text-upper-bound.patch
++ fromUntil "9.10" "9.11" ./patches/ghc/ghc-9.10-containers-upper-bound.patch
++ fromUntil "9.10" "9.14" ./patches/ghc/ghc-9.10-merge-objects.patch
++ fromUntil "9.9" "9.11" ./patches/ghc/ghc-9.9-Cabal-3.11.patch
++ fromUntil "9.8" "9.8.3" ./patches/ghc/ghc-9.8-text-upper-bound.patch
++ fromUntil "9.8.3" "9.10" ./patches/ghc/ghc-9.8.3-text-upper-bound.patch
++ fromUntil "9.10" "9.11" ./patches/ghc/ghc-9.10-containers-upper-bound.patch
++ fromUntil "9.10" "9.14" ./patches/ghc/ghc-9.10-merge-objects.patch

# This patch will make windows stop emitting absolute relocations. This is one way in which binutils 2.36+ (with ASLR enabled), will just choke on the
# assembly we generate because it's always absolute (32bit) addressing modes.
Expand Down
24 changes: 24 additions & 0 deletions overlays/patches/ghc/ghc-9.8.3-text-upper-bound.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
diff --git a/linters/lint-commit-msg/lint-commit-msg.cabal b/linters/lint-commit-msg/lint-commit-msg.cabal
index 7d1dbd0fcb..861ad6f03d 100644
--- a/linters/lint-commit-msg/lint-commit-msg.cabal
+++ b/linters/lint-commit-msg/lint-commit-msg.cabal
@@ -26,4 +26,4 @@ executable lint-commit-msg
base
>= 4.14 && < 5,
text
- >= 1.2 && < 2.1
+ >= 1.2 && < 2.2
diff --git a/linters/lint-submodule-refs/lint-submodule-refs.cabal b/linters/lint-submodule-refs/lint-submodule-refs.cabal
index ce4012adfc..9ff85d2731 100644
--- a/linters/lint-submodule-refs/lint-submodule-refs.cabal
+++ b/linters/lint-submodule-refs/lint-submodule-refs.cabal
@@ -15,7 +15,7 @@ executable lint-submodule-refs
base
>= 4.14 && < 5,
text
- >= 1.2 && < 2.1,
+ >= 1.2 && < 2.2,
linters-common

ghc-options:

0 comments on commit ef2e2f8

Please sign in to comment.