diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,8 @@
 # Revision history for evdev
 
+## 2.3.1 -- 01-09-2023
+* Migrate to `unix-2.8`.
+
 ## 2.3.0 -- 01-09-2023
 * Add `deviceOptsFromEvents` for more easily creating UInput devices with desired capabilities.
 * Add some extra `Read` instances.
diff --git a/evdev.cabal b/evdev.cabal
--- a/evdev.cabal
+++ b/evdev.cabal
@@ -1,6 +1,6 @@
 cabal-version:       3.0
 name:                evdev
-version:             2.3.0
+version:             2.3.1
 author:              George Thomas
 maintainer:          George Thomas
 description:         Provides access to the Linux event device interface.
@@ -28,7 +28,7 @@
         mtl ^>= {2.2, 2.3},
         rawfilepath ^>= {1.0, 1.1},
         time ^>= {1.9.3, 1.10, 1.11, 1.12, 1.13},
-        unix ^>= 2.7.2,
+        unix ^>= 2.8,
     default-language: GHC2021
     default-extensions:
         BlockArguments
diff --git a/src/Evdev.hs b/src/Evdev.hs
--- a/src/Evdev.hs
+++ b/src/Evdev.hs
@@ -205,7 +205,8 @@
 Use 'newDeviceFromFd' if you need more control over how the device is created.
 -}
 newDevice :: RawFilePath -> IO Device
-newDevice path = newDeviceFromFd =<< openFd path ReadWrite Nothing defaultFileFlags
+-- newDevice path = newDeviceFromFd =<< openFd path ReadWrite Nothing defaultFileFlags
+newDevice path = newDeviceFromFd =<< openFd path ReadWrite defaultFileFlags
 
 {- | Generalisation of 'newDevice', in case one needs control over the file descriptor,
 e.g. in order to set a particular 'System.Posix.FileMode', 'System.Posix.OpenMode', or 'System.Posix.OpenFileFlags'.
