diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,10 @@
 # Revision history for network-unexceptional
 
+## 0.1.3.1 -- 2023-08-31
+
+* Import `ByteArray` from `Data.Primitive` instead of `Data.Array.Byte`
+  to fix build failure on GHC 9.2.
+
 ## 0.1.3.0 -- 2023-08-30
 
 * Add interruptible send and receive functions to give users control over
diff --git a/network-unexceptional.cabal b/network-unexceptional.cabal
--- a/network-unexceptional.cabal
+++ b/network-unexceptional.cabal
@@ -1,6 +1,6 @@
 cabal-version: 3.0
 name: network-unexceptional
-version: 0.1.3.0
+version: 0.1.3.1
 synopsis: Network functions that do not throw exceptions
 description:
   Functions compatible with the Socket type from the network library that
diff --git a/src/Network/Unexceptional/ByteArray.hs b/src/Network/Unexceptional/ByteArray.hs
--- a/src/Network/Unexceptional/ByteArray.hs
+++ b/src/Network/Unexceptional/ByteArray.hs
@@ -10,7 +10,7 @@
 
 import Control.Exception (throwIO)
 import Control.Monad (when)
-import Data.Array.Byte (ByteArray)
+import Data.Primitive (ByteArray)
 import Data.Bytes.Types (Bytes(Bytes),MutableBytes(MutableBytes))
 import Foreign.C.Error (Errno)
 import Foreign.C.Error.Pattern (pattern EWOULDBLOCK,pattern EAGAIN)
diff --git a/src/Network/Unexceptional/Bytes.hs b/src/Network/Unexceptional/Bytes.hs
--- a/src/Network/Unexceptional/Bytes.hs
+++ b/src/Network/Unexceptional/Bytes.hs
@@ -16,10 +16,9 @@
 import Control.Exception (throwIO)
 import Control.Monad ((<=<))
 import Control.Monad (when)
-import Data.Array.Byte (ByteArray)
 import Data.Bytes.Types (Bytes(Bytes),MutableBytes(MutableBytes))
 import Data.Functor (($>))
-import Data.Primitive (MutableByteArray)
+import Data.Primitive (MutableByteArray,ByteArray)
 import Foreign.C.Error (Errno)
 import Foreign.C.Error.Pattern (pattern EWOULDBLOCK,pattern EAGAIN)
 import GHC.Conc (threadWaitWrite,threadWaitWriteSTM)
