From b242aaf5c9750a10948e812d27b57d19f56ea63c Mon Sep 17 00:00:00 2001
From: Daniel Firth <dan.firth@horizon-haskell.net>
Date: Sun, 3 Dec 2023 00:05:09 +0000
Subject: [PATCH] refined: 11296288b5e2f2b391ee721b50af3cfe7beaa790

---
 horizon.dhall    | 6 +++++-
 horizon.lock     | 2 +-
 pkgs/refined.nix | 9 +++++++--
 3 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/horizon.dhall b/horizon.dhall
index 34c5ef15..0dab4c4e 100644
--- a/horizon.dhall
+++ b/horizon.dhall
@@ -501,7 +501,11 @@ let packages =
       , rebase = H.callHackage "rebase" "1.20.1.1"
       , ref-tf = H.callHackage "ref-tf" "0.5.0.1"
       , refact = H.callHackage "refact" "0.3.0.2"
-      , refined = H.callHackage "refined" "0.8.1"
+      , refined =
+          H.callGit
+            "https://github.com/nikita-volkov/refined"
+            "11296288b5e2f2b391ee721b50af3cfe7beaa790"
+            (None H.Subdir)
       , regex = H.callHackage "regex" "1.1.0.2"
       , regex-applicative = H.callHackage "regex-applicative" "0.3.4"
       , regex-pcre-builtin = H.callHackage "regex-pcre-builtin" "0.95.2.3.8.44"
diff --git a/horizon.lock b/horizon.lock
index e2d09ef5..54b8bc64 100644
--- a/horizon.lock
+++ b/horizon.lock
@@ -1632,7 +1632,7 @@
   }
 , { mapKey = "refined"
   , mapValue =
-      "7950ac3a806e616378950914db65c3c795217e2f5fc2de6d84b24532b9236f04"
+      "90b5df10679101e9d0298845f0235e8a070078ffcaa2eafd01956711abce8966"
   }
 , { mapKey = "regex"
   , mapValue =
diff --git a/pkgs/refined.nix b/pkgs/refined.nix
index c8738070..5bbad0a6 100644
--- a/pkgs/refined.nix
+++ b/pkgs/refined.nix
@@ -1,11 +1,16 @@
 { mkDerivation, QuickCheck, aeson, base, bytestring, deepseq
-, exceptions, hashable, lib, mtl, template-haskell, text
+, exceptions, fetchgit, hashable, lib, mtl, template-haskell, text
 , these-skinny
 }:
 mkDerivation {
   pname = "refined";
   version = "0.8.1";
-  sha256 = "35ae42f02aaa7dadbbdd6e9b53a5425b3a2d6bd9249235f6679a61f30e0f2735";
+  src = fetchgit {
+    url = "https://github.com/nikita-volkov/refined";
+    sha256 = "1xl5syy2bl0j50fqg6ps161jagm9h30lhcd6z1khnxnfyq473awf";
+    rev = "11296288b5e2f2b391ee721b50af3cfe7beaa790";
+    fetchSubmodules = true;
+  };
   isLibrary = true;
   isExecutable = false;
   enableSeparateDataOutput = false;
-- 
GitLab