From 5e8ad31489ba1f807e74a1c427e7dea26aef1228 Mon Sep 17 00:00:00 2001
From: Daniel Firth <dan.firth@homotopic.tech>
Date: Wed, 7 Sep 2022 20:11:42 +0100
Subject: [PATCH] Add hedgehog-golden

---
 flake.lock  | 17 +++++++++++++++++
 flake.nix   |  4 ++++
 overlay.nix |  4 ++++
 3 files changed, 25 insertions(+)

diff --git a/flake.lock b/flake.lock
index 5a83c94b..bb3243dc 100644
--- a/flake.lock
+++ b/flake.lock
@@ -179,6 +179,22 @@
         "type": "github"
       }
     },
+    "hedgehog-golden": {
+      "flake": false,
+      "locked": {
+        "lastModified": 1661504720,
+        "narHash": "sha256-bsQhvyY22Rgg8fEsVlQMAXN7Kps3QWntnAucuP8F16Y=",
+        "owner": "maybe-hedgehog-later",
+        "repo": "hedgehog-golden",
+        "rev": "4ab2906b3f0be5e31ee5a8585e45d43392694246",
+        "type": "github"
+      },
+      "original": {
+        "owner": "maybe-hedgehog-later",
+        "repo": "hedgehog-golden",
+        "type": "github"
+      }
+    },
     "lint-utils": {
       "inputs": {
         "flake-utils": "flake-utils_2",
@@ -276,6 +292,7 @@
         "flake-parts": "flake-parts",
         "flake-utils": "flake-utils",
         "haskell-flake": "haskell-flake",
+        "hedgehog-golden": "hedgehog-golden",
         "lint-utils": "lint-utils",
         "memory": "memory",
         "nixpkgs": "nixpkgs_2",
diff --git a/flake.nix b/flake.nix
index 259658fe..0839a3d3 100644
--- a/flake.nix
+++ b/flake.nix
@@ -32,6 +32,10 @@
     flake-parts.inputs.nixpkgs.follows = "nixpkgs";
     lint-utils.url = "git+https://gitlab.homotopic.tech/nix/lint-utils";
     haskell-flake.url = "github:srid/haskell-flake";
+    hedgehog-golden = {
+      url = "github:maybe-hedgehog-later/hedgehog-golden";
+      flake = false;
+    };
     memory = {
       url = "github:parsonsmatt/hs-memory/0f760c8ba0b7d5aacf04a7294e87e5e4fff53f40";
       flake = false;
diff --git a/overlay.nix b/overlay.nix
index cc0b724e..ae492a6e 100644
--- a/overlay.nix
+++ b/overlay.nix
@@ -146,6 +146,8 @@ final: prev: with pkgs.haskell.lib; {
 
   hedgehog = dontHaddock (prev.callHackage "hedgehog" "1.2" { });
 
+  hedgehog-golden = dontHaddock (prev.callCabal2nix "hedgehog-golden" inputs.hedgehog-golden { });
+
   hourglass = dontCheck (prev.callHackage "hourglass" "0.2.12" { });
 
   hslua-aeson = doJailbreak (prev.callHackage "hslua-aeson" "2.2.1" { });
@@ -333,5 +335,7 @@ final: prev: with pkgs.haskell.lib; {
   warp-tls = dontCheck (prev.callHackage "warp-tls" "3.3.3" { });
 
   witherable = dontCheck (prev.callHackage "witherable" "0.4.2" { });
+  
+  with-utf8 = doJailbreak (prev.callHackage "with-utf8" "1.0.2.3" { });
 
 }
-- 
GitLab