Hi,
attached below is a patch for GHC 9.14 support and various dependency
bumps as confirmed on Arch Linux.
The important change is in Cabal 3.14, which changes how file access and
filepath manipulation works. The changes are all gated behind CPP.
Regards,
Vekhir
3 patches for repository http://darcs.net:
patch 847f2841ac10b9cb841b43da5354fa8709a04525
Author: Vekhir <[email protected]>
Date: Sun Jun 7 20:55:31 CEST 2026
* Support up to GHC 9.14
Cabal 3.14 introduces symbolic paths which can be manipulated
without affecting the underlying files. They then need to be
converted to normal FilePath to access the underlying files.
patch 8a8cee8f8e3c311c3bc4d395a543f232c7d5e930
Author: Vekhir <[email protected]>
Date: Sun Jun 7 21:44:57 CEST 2026
* Update CI
patch 136d82864ec19132ecf68cc23f35231ea8054d29
Author: Vekhir <[email protected]>
Date: Thu Jul 2 15:39:09 CEST 2026
* Bump dependency bounds
New patches:
[Support up to GHC 9.14
Vekhir <[email protected]>**20260607185531
Ignore-this:
30f4e1f6398843ebfb51de961b34202616c137b1fab88794939cec174da41f7a1b916e73be94bb6d
Cabal 3.14 introduces symbolic paths which can be manipulated
without affecting the underlying files. They then need to be
converted to normal FilePath to access the underlying files.
] hunk ./Setup.hs 5
+{-# LANGUAGE CPP #-}
hunk ./Setup.hs 23
+#if MIN_VERSION_Cabal(3,14,0)
+import Distribution.Utils.Path ( makeRelativePathEx, getSymbolicPath, (</>) )
+#endif
hunk ./Setup.hs 32
+#if !MIN_VERSION_Cabal(3,14,0)
hunk ./Setup.hs 34
+#endif
hunk ./Setup.hs 82
+#if MIN_VERSION_Cabal(3,14,0)
+ have_darcs_exe_dir <- doesDirectoryExist (getSymbolicPath $ buildDir lbi </>
(makeRelativePathEx "darcs"))
+#else
hunk ./Setup.hs 86
+#endif
hunk ./Setup.hs 88
+#if MIN_VERSION_Cabal(3,14,0)
+ let darcs = getSymbolicPath $ buildDir lbi </> (makeRelativePathEx
"darcs/darcs")
+ manpage = getSymbolicPath $ buildDir lbi </> (makeRelativePathEx
"darcs/darcs.1")
+#else
hunk ./Setup.hs 94
+#endif
hunk ./Setup.hs 101
+#if MIN_VERSION_Cabal(3,14,0)
+ have_manpage <- doesFileExist (getSymbolicPath $ buildDir lbi </>
(makeRelativePathEx $ "darcs" </> "darcs.1"))
+#else
hunk ./Setup.hs 105
+#endif
hunk ./Setup.hs 110
+#if MIN_VERSION_Cabal(3,14,0)
+ [(getSymbolicPath $ buildDir lbi </> (makeRelativePathEx "darcs"),
"darcs.1")]
+#else
hunk ./Setup.hs 114
+#endif
hunk ./Setup.hs 151
+#if MIN_VERSION_Cabal(3,14,0)
+ createDirectoryIfMissingVerbose verbosity True ( getSymbolicPath dir )
+#else
hunk ./Setup.hs 155
+#endif
hunk ./Setup.hs 158
+#if MIN_VERSION_Cabal(3,14,0)
+ rewriteFileEx silent ( getSymbolicPath $ dir </> (makeRelativePathEx
"Version.hs")) $ unlines
+#else
hunk ./Setup.hs 162
+#endif
hunk ./darcs.cabal 126
- setup-depends: base >= 4.10 && < 4.21,
- Cabal >= 2.4 && < 3.13,
+ setup-depends: base >= 4.10 && < 4.23,
+ Cabal >= 2.4 && < 3.17,
hunk ./darcs.cabal 129
- filepath >= 1.4.1 && < 1.5.0.0,
+ filepath >= 1.4.1 && < 1.6.0.0,
hunk ./darcs.cabal 415
- build-depends: base >= 4.10 && < 4.21,
+ build-depends: base >= 4.10 && < 4.23,
hunk ./darcs.cabal 419
- containers >= 0.5.11 && < 0.8,
+ containers >= 0.5.11 && < 0.9,
hunk ./darcs.cabal 450
- hashable >= 1.2.3.3 && < 1.5,
+ hashable >= 1.2.3.3 && < 1.6,
[Update CI
Vekhir <[email protected]>**20260607194457
Ignore-this:
46994975b90ba35208c9a00a8fb608909c40ec0398e43e9e1154223bec7ed755280a3a725cd2139b
] hunk ./.github/workflows/build-and-test.yml 30
- - 9.10.1
+ - 9.10.3
+ - 9.12.4
+ - 9.14.1
hunk ./.github/workflows/build-and-test.yml 36
+ - '3.14'
+ - '3.16'
hunk ./.github/workflows/build-and-test.yml 44
- runtests: ${{ matrix.ghc == '8.4.4' || matrix.ghc == '9.10.1' }}
+ runtests: ${{ matrix.ghc == '8.4.4' || matrix.ghc == '9.14.1' }}
[Bump dependency bounds
Vekhir <[email protected]>**20260702133909
Ignore-this:
57d7f0e71e26e3925dc789e24601e19a6ecfcdfbab506cc0a6855d5a3bbcce97dddf580177653bae
] hunk ./darcs.cabal 435
- tar >= 0.5 && < 0.7,
+ tar >= 0.5 && < 0.8,
hunk ./darcs.cabal 444
- time >= 1.9 && < 1.15,
+ time >= 1.9 && < 1.16,
hunk ./darcs.cabal 580
- QuickCheck >= 2.13 && < 2.16,
+ QuickCheck >= 2.13 && < 2.17,
Context:
[support QuickCheck 2.15
Ganesh Sittampalam <[email protected]>**20240513000037
Ignore-this:
f078dc88530d2fdc51610fcadca12d0b355ae5c6594e76643f1592ccd329b5a8c817374f0522e0cc
This currently needs --allow-newer to use
]
[support time 1.14
Ganesh Sittampalam <[email protected]>**20240513000056
Ignore-this:
929d96355713e762a5e77549597b6bd816992f93af1ef7125cdcf9caa396f6f5d82b2a8d71ff51e8
This currently needs --allow-newer to use
]
[support GHC 9.10
Ganesh Sittampalam <[email protected]>**20240720165737
Ignore-this:
cedeb71c11245d1d992f93c7e2c6d94830a206805c51b1597abd52dd9e13ddd8e3109fc1aa613bf9
]
[use headErr/tailErr from safe for several head/tails
Ganesh Sittampalam <[email protected]>**20240225215204
Ignore-this:
bb7a9c0ef437f841d13a7eb2a0a24abcf5ee4d26a2856feac2966a4f89a52a5b20560bea920fbc42
They aren't trivial to fix in a concise way, and safe
is generally a useful package to have around anyway.
]
[ci: add ghc-9.8.2 to build matrix
Ben Franksen <[email protected]>**20240517113141
Ignore-this:
a3103d91ec762a45b0e5b8a2a4f317d4358c58c0a94420f43784c623050af0381cdb9dc65a87bbc7
]
[adapt supported ghc versions in README.md
Ben Franksen <[email protected]>**20240517113218
Ignore-this:
c4e2e475e9c439bf0b240fd5dfffc6f57b43b94ecb57329e2686286b47f214a562150f0b336fce27
]
[ci: run tests for ghc-9.10 instead of ghc-9.8
Ben Franksen <[email protected]>**20241107094641
Ignore-this:
185eb4aa9c52a10433851600af6bd656ed3e32e1cc3491423f973316d0cdc28921a31082678c638f
]
[only aim to be warnings clean on one version of GHC
Ganesh Sittampalam <[email protected]>**20240606223521
Ignore-this:
baa0a229b2cf58978c3d04518ae0640aa270c191ab20a60650bbc69a8e3d4579afb96fa3b17a3b09
For now this is GHC 9.8
]
[ci: run tests with latest supported ghc version
Ben Franksen <[email protected]>**20240517115615
Ignore-this:
574d1033079aa6d6f5f42739ff36e353baf9b5503134f9b0cff839a02a64e101a778781f401661dc
]
[ci: exclude ghc-8.10.7 on windows due to obscure assembler error
Ben Franksen <[email protected]>**20241217154912
Ignore-this:
e95e32de639fb8815ac51fb6db098f08306394af15450707315932c27f3c3c99d124f6680fd42fa6
]
[support building with cabal-3.12
Ben Franksen <[email protected]>**20241107091827
Ignore-this:
8beb3dbdc41fcd665448c95e500e684650757454d2229bf46cea737e17902433b4ebc6c94ef8cf5e
]
[ci: remove ghc-8.2.2 from build matrix
Ben Franksen <[email protected]>**20240509190406
Ignore-this:
f0a8e2f11701fc743212fda56d6106d5364cefead256b63d06d363e787b409a74318611cf1ce06da
Building the dependencies now fails on macos-13 with ghc-8.2.2. We already
excluded it for the other systems due to various build problems, so can as
well remove it entirely.
]
[TAG 2.18.1
Ganesh Sittampalam <[email protected]>**20240225173219
Ignore-this:
dc3a92eafcab9d4fa9f53b1811d4c99d330615a8c202bff1b77f44d551d21684eee81e96c69be62b
]
Patch bundle hash:
e3dc087cdaa0a79df0b8e093d1a7a74adef8a55b
_______________________________________________
darcs-devel mailing list
[email protected]
https://lists.darcs.net/mailman/listinfo/darcs-devel