From 234afb7b18de2d088c2ad536bd6e94cb189ecc52 Mon Sep 17 00:00:00 2001 From: Harinn Date: Sat, 23 May 2026 11:45:56 +0700 Subject: [PATCH] hooky: fix build with kdl-hs 1.1 --- pkgs/by-name/ho/hooky/package.nix | 5 +++++ 1 file changed, 5 insertions(+) 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; [