[Git][ghc/ghc][wip/T24382] hadrian: Bump directory bound to >=1.3.9

Ben Gamari (@bgamari) gitlab at gitlab.haskell.org
Fri Nov 15 16:15:45 UTC 2024



Ben Gamari pushed to branch wip/T24382 at Glasgow Haskell Compiler / GHC


Commits:
5ab2a01d by Ben Gamari at 2024-11-15T11:15:37-05:00
hadrian: Bump directory bound to >=1.3.9

Earlier versions of `directory` are racy on Windows due to #24382.

Fixes #24382.

- - - - -


4 changed files:

- .gitlab/ci.sh
- hadrian/cabal.project
- hadrian/hadrian.cabal
- hadrian/stack.yaml


Changes:

=====================================
.gitlab/ci.sh
=====================================
@@ -7,7 +7,8 @@
 set -Eeuo pipefail
 
 # Configuration:
-HACKAGE_INDEX_STATE="2024-09-17T22:56:00Z"
+# N.B. You may want to also update the index-state in hadrian/cabal.project.
+HACKAGE_INDEX_STATE="2024-10-30T22:56:00Z"
 MIN_HAPPY_VERSION="1.20"
 MIN_ALEX_VERSION="3.2.6"
 


=====================================
hadrian/cabal.project
=====================================
@@ -3,8 +3,8 @@ packages: ./
           ../libraries/ghc-platform/
 
 -- This essentially freezes the build plan for hadrian
--- It would be wise to keep this up to date with the state set in ci.sh
-index-state: 2024-09-17T22:56:00Z
+-- It would be wise to keep this up to date with the state set in .gitlab/ci.sh.
+index-state: 2024-10-30T22:56:00Z
 
 -- unordered-containers-0.2.20-r1 requires template-haskell < 2.22
 -- ghc-9.10 has template-haskell-2.22.0.0


=====================================
hadrian/hadrian.cabal
=====================================
@@ -157,7 +157,9 @@ executable hadrian
                        , base                 >= 4.11    && < 5
                        , bytestring           >= 0.10    && < 0.13
                        , containers           >= 0.5     && < 0.8
-                       , directory            >= 1.3.1.0 && < 1.4
+                         -- N.B. directory >=1.3.9 as earlier versions are
+                         -- afflicted by #24382.
+                       , directory            >= 1.3.9.0 && < 1.4
                        , extra                >= 1.4.7
                        , filepath
                        , time


=====================================
hadrian/stack.yaml
=====================================
@@ -21,3 +21,10 @@ nix:
 extra-deps:
 - Cabal-3.14.0.0
 - Cabal-syntax-3.14.0.0
+
+# needed due to Hadrian's lower bound on directory
+- directory-1.3.9.0
+- file-io-0.1.4
+- filepath-1.4.300.2
+- process-1.6.25.0
+- unix-2.8.5.1



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/5ab2a01dcdfd56832aa0c2b60325e1740c02c0e1

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/5ab2a01dcdfd56832aa0c2b60325e1740c02c0e1
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20241115/bbef9d5a/attachment-0001.html>


More information about the ghc-commits mailing list