diff --git a/horizon.dhall b/horizon.dhall
index a0a7c16770ae5a474110a0427d09bc031c798c93..42dadeabe36816f917e67c14cdc81688bda2f539 100644
--- a/horizon.dhall
+++ b/horizon.dhall
@@ -461,7 +461,7 @@ let packages =
       , groups = H.callHackage "groups" "0.5.3"
       , gtk2hs-buildtools = H.callHackage "gtk2hs-buildtools" "0.13.8.3"
       , hackage-db = H.callHackage "hackage-db" "2.1.2"
-      , hackage-security = H.callHackage "hackage-security" "0.6.2.2"
+      , hackage-security = H.callHackage "hackage-security" "0.6.2.3"
       , haddock-library = H.callHackage "haddock-library" "1.11.0"
       , hakyll = H.callHackage "hakyll" "4.15.1.1"
       , half = H.callHackage "half" "0.3.1"
diff --git a/pkgs/hackage-security.nix b/pkgs/hackage-security.nix
index 4957f4e84af06f5ca37fd854b261ec167f553988..10d727b875ae58248f43aa146fe6de9db25fa80b 100644
--- a/pkgs/hackage-security.nix
+++ b/pkgs/hackage-security.nix
@@ -1,91 +1,29 @@
-{ mkDerivation
-, Cabal
-, Cabal-syntax
-, QuickCheck
-, aeson
-, base
-, base16-bytestring
-, base64-bytestring
-, bytestring
-, containers
-, cryptohash-sha256
-, directory
-, ed25519
-, filepath
-, ghc-prim
-, lib
-, lukko
-, mtl
-, network
-, network-uri
-, parsec
-, pretty
-, tar
-, tasty
-, tasty-hunit
-, tasty-quickcheck
-, template-haskell
-, temporary
-, text
-, time
-, transformers
-, unordered-containers
-, vector
-, zlib
+{ mkDerivation, Cabal, Cabal-syntax, QuickCheck, aeson, base
+, base16-bytestring, base64-bytestring, bytestring, containers
+, cryptohash-sha256, directory, ed25519, filepath, ghc-prim, lib
+, lukko, mtl, network, network-uri, parsec, pretty, tar, tasty
+, tasty-hunit, tasty-quickcheck, template-haskell, temporary, text
+, time, transformers, unordered-containers, vector, zlib
 }:
 mkDerivation {
   pname = "hackage-security";
-  version = "0.6.2.2";
-  sha256 = "a833a31610220506557e96fb6e3e8b05a2e1db8e7ebc06e91bbb699ddde0b276";
+  version = "0.6.2.3";
+  sha256 = "52ee0576971955571d846b8e6c09638f89f4f7881f4a95173e44ccc0d856a066";
   revision = "2";
-  editedCabalFile = "12mrnjyl5z5ng1w4748xi6l8iyq3wcs94qq42kx9hx09d4qklsq0";
+  editedCabalFile = "07i8f4sappqphh39jj9268a6ci7l972qi33p4zydsdrvh5s58h0q";
   isLibrary = true;
   isExecutable = false;
   enableSeparateDataOutput = false;
   libraryHaskellDepends = [
-    base
-    base16-bytestring
-    base64-bytestring
-    bytestring
-    Cabal
-    Cabal-syntax
-    containers
-    cryptohash-sha256
-    directory
-    ed25519
-    filepath
-    ghc-prim
-    lukko
-    mtl
-    network
-    network-uri
-    parsec
-    pretty
-    tar
-    template-haskell
-    time
-    transformers
-    zlib
+    base base16-bytestring base64-bytestring bytestring Cabal
+    Cabal-syntax containers cryptohash-sha256 directory ed25519
+    filepath ghc-prim lukko mtl network network-uri parsec pretty tar
+    template-haskell time transformers zlib
   ];
   testHaskellDepends = [
-    aeson
-    base
-    bytestring
-    Cabal
-    Cabal-syntax
-    containers
-    network-uri
-    QuickCheck
-    tar
-    tasty
-    tasty-hunit
-    tasty-quickcheck
-    temporary
-    text
-    time
-    unordered-containers
-    vector
-    zlib
+    aeson base bytestring Cabal Cabal-syntax containers network-uri
+    QuickCheck tar tasty tasty-hunit tasty-quickcheck temporary text
+    time unordered-containers vector zlib
   ];
   enableLibraryProfiling = true;
   enableExecutableProfiling = true;
@@ -98,4 +36,4 @@ mkDerivation {
   description = "Hackage security library";
   license = lib.licenses.bsd3;
   broken = false;
-}
+}
\ No newline at end of file