diff --git a/pkgs/by-name/ho/hooky/package.nix b/pkgs/by-name/ho/hooky/package.nix index 04ba4fb69eb5..9a087b351419 100644 --- a/pkgs/by-name/ho/hooky/package.nix +++ b/pkgs/by-name/ho/hooky/package.nix @@ -20,6 +20,11 @@ haskellPackages.mkDerivation { hash = "sha256-w4sWD5dZTNKwrYhrJw9RcwGoeNxpJnm/6RRqYjiIiBg="; }; + postPatch = '' + substituteInPlace src/Hooky/Config.hs \ + --replace-fail 'KDL.text' 'KDL.string' + ''; + isLibrary = true; isExecutable = true; libraryHaskellDepends = with haskellPackages; [