diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,9 @@
 # Revision history for array-chunks
 
+## 0.1.4.2 -- 2024-02-06
+
+* Fix failing tests on Hackage.
+
 ## 0.1.4.1 -- 2024-02-05
 
 * Update package metadata.
diff --git a/array-chunks.cabal b/array-chunks.cabal
--- a/array-chunks.cabal
+++ b/array-chunks.cabal
@@ -1,21 +1,23 @@
-cabal-version:   2.2
-name:            array-chunks
-version:         0.1.4.1
-synopsis:        Lists of chunks
+cabal-version:      2.4
+name:               array-chunks
+version:            0.1.4.2
+synopsis:           Lists of chunks
 description:
   Lists of chunks. This is similar to the Cons List provided
   by `Data.List`, but it is more useful as a target for a
   builder since the chunks are cache coherent.
 
-homepage:        https://github.com/byteverse/array-chunks
-bug-reports:     https://github.com/byteverse/array-chunks/issues
-license:         BSD-3-Clause
-license-file:    LICENSE
-author:          Andrew Martin
-maintainer:      amartin@layer3com.com
-copyright:       2019 Andrew Martin
-category:        Data
-extra-doc-files: CHANGELOG.md
+homepage:           https://github.com/byteverse/array-chunks
+bug-reports:        https://github.com/byteverse/array-chunks/issues
+license:            BSD-3-Clause
+license-file:       LICENSE
+author:             Andrew Martin
+maintainer:         amartin@layer3com.com
+copyright:          2019 Andrew Martin
+category:           Data
+extra-doc-files:    CHANGELOG.md
+extra-source-files: cabal.project
+tested-with:        GHC ==9.4.8 || ==9.6.3 || ==9.8.1
 
 common build-settings
   default-language: Haskell2010
diff --git a/cabal.project b/cabal.project
new file mode 100644
--- /dev/null
+++ b/cabal.project
@@ -0,0 +1,3 @@
+-- 2024-02-06: Including this to make "cabal test" work on Hackage.
+packages: .
+tests: True
