diff --git a/flake.lock b/flake.lock index bbfa984..0f47abe 100644 --- a/flake.lock +++ b/flake.lock @@ -35,11 +35,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1700538105, - "narHash": "sha256-uZhOCmwv8VupEmPZm3erbr9XXmyg7K67Ul3+Rx2XMe0=", + "lastModified": 1728279793, + "narHash": "sha256-W3D5YpNrUVTFPVU4jiEiboaaUDShaiH5fRl9aJLqUnU=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "51a01a7e5515b469886c120e38db325c96694c2f", + "rev": "f85a2d005e83542784a755ca8da112f4f65c4aa4", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index bc12653..e79967e 100644 --- a/flake.nix +++ b/flake.nix @@ -25,7 +25,7 @@ services.redis."redis".enable = true; }; haskellProjects.default = { - basePackages = pkgs.haskell.packages.ghc947; + basePackages = pkgs.haskell.packages.ghc96; autoWire = [ "packages" ]; }; packages.default = self'.packages.hedis; diff --git a/src/Database/Redis/Sentinel.hs b/src/Database/Redis/Sentinel.hs index d3a4f0d..17c0f56 100644 --- a/src/Database/Redis/Sentinel.hs +++ b/src/Database/Redis/Sentinel.hs @@ -55,6 +55,7 @@ import Data.List.NonEmpty (NonEmpty (..)) import Data.Typeable (Typeable) import Data.Unique import Network.Socket (HostName) +import Control.Monad.IO.Class (liftIO) import Database.Redis hiding (Connection, connect, runRedis) import qualified Database.Redis as Redis