diff --git a/horizon.dhall b/horizon.dhall
index c77c137a0089e65bd86abb2ef736d96bae2bd8ba..32515a099eca1073778a6e9e76c988ebb790fc60 100644
--- a/horizon.dhall
+++ b/horizon.dhall
@@ -337,6 +337,7 @@ let packages =
           , H.CabalFlag.Disable "floskell"
           ]
       , haskell-src = H.callHackage "haskell-src" "1.0.4"
+      , hdaemonize = H.callHackage "hdaemonize" "0.5.6"
       , heaps = H.callHackage "heaps" "0.4"
       , hedgehog-extras = H.callHackage "hedgehog-extras" "0.4.5.1"
       , hedgehog-fn = H.callHackage "hedgehog-fn" "1.0"
diff --git a/horizon.lock b/horizon.lock
index b239e7a3524e6b6ec13c4b4f244aa17df206a8b2..b5a2b83c15940349c835107ef232b6916aa69cd7 100644
--- a/horizon.lock
+++ b/horizon.lock
@@ -1014,6 +1014,10 @@
   , mapValue =
       "dd3f1bdd1290b58fed3eeafeaaba3c4b63b7900cdb5065483fbb5cc9f479ad08"
   }
+, { mapKey = "hdaemonize"
+  , mapValue =
+      "ab4f90bf1de28057460801b3eb68e3785e2e5bba6227df52d511bf7c209905f1"
+  }
 , { mapKey = "heaps"
   , mapValue =
       "e042b769e4e44e7f41cbc5c52e1ef3ca3956fd922dcc8070ff55e9e9e6d3d24d"
diff --git a/overlay.nix b/overlay.nix
index 804d9da0bcee0d159c39cfc4dc2fa982e29299fe..5328bbf41fd22a0df0c159af65b913ad5f8e15dd 100644
--- a/overlay.nix
+++ b/overlay.nix
@@ -509,6 +509,8 @@ final: prev: with pkgs.haskell.lib; {
 
   haskell-src = final.callPackage (./pkgs/haskell-src.nix) { };
 
+  hdaemonize = final.callPackage (./pkgs/hdaemonize.nix) { };
+
   heaps = final.callPackage (./pkgs/heaps.nix) { };
 
   hedgehog-extras = final.callPackage (./pkgs/hedgehog-extras.nix) { };
diff --git a/pkgs/hdaemonize.nix b/pkgs/hdaemonize.nix
new file mode 100644
index 0000000000000000000000000000000000000000..7d2196ae0a36ecd0046b93d4b8bbc5a32982b1e7
--- /dev/null
+++ b/pkgs/hdaemonize.nix
@@ -0,0 +1,25 @@
+{ mkDerivation, base, bytestring, extensible-exceptions, filepath
+, hsyslog, lib, mtl, unix
+}:
+mkDerivation {
+  pname = "hdaemonize";
+  version = "0.5.6";
+  sha256 = "ad6f302492a9c41e99ce62ca955a959b0cdca0ff328e66f31bfec5a99f7cee24";
+  isLibrary = true;
+  isExecutable = false;
+  enableSeparateDataOutput = false;
+  libraryHaskellDepends = [
+    base bytestring extensible-exceptions filepath hsyslog mtl unix
+  ];
+  enableLibraryProfiling = true;
+  enableExecutableProfiling = true;
+  doHaddock = false;
+  jailbreak = true;
+  doCheck = false;
+  doBenchmark = false;
+  hyperlinkSource = false;
+  homepage = "http://github.com/unprolix/hdaemonize";
+  description = "Library to handle the details of writing daemons for UNIX";
+  license = lib.licenses.bsd3;
+  broken = false;
+}
\ No newline at end of file