From 1fedcc783ab0f663676de9fdaa6d74b69e004c0b Mon Sep 17 00:00:00 2001
From: Daniel Firth <dan.firth@homotopic.tech>
Date: Wed, 14 Sep 2022 16:21:12 +0100
Subject: [PATCH] compactable: init at master

---
 flake.lock  | 18 ++++++++++++++++++
 flake.nix   |  4 ++++
 overlay.nix |  2 ++
 3 files changed, 24 insertions(+)

diff --git a/flake.lock b/flake.lock
index 3a75d1ef..534ea500 100644
--- a/flake.lock
+++ b/flake.lock
@@ -66,6 +66,23 @@
         "type": "github"
       }
     },
+    "compactable": {
+      "flake": false,
+      "locked": {
+        "lastModified": 1657645300,
+        "narHash": "sha256-WUICNDQYyzf3fnuRokltSbPBUjHP4gODtKt0JNVv2KY=",
+        "owner": "fresheyeball",
+        "repo": "Compactable",
+        "rev": "f63927b1e438c267f0d12f36e5b3735cfaebeeb4",
+        "type": "gitlab"
+      },
+      "original": {
+        "owner": "fresheyeball",
+        "ref": "master",
+        "repo": "Compactable",
+        "type": "gitlab"
+      }
+    },
     "cryptohash-sha1": {
       "flake": false,
       "locked": {
@@ -335,6 +352,7 @@
         "all-cabal-hashes": "all-cabal-hashes",
         "cache-effectful": "cache-effectful",
         "cborg": "cborg",
+        "compactable": "compactable",
         "cryptohash-sha1": "cryptohash-sha1",
         "doctest": "doctest",
         "double-conversion": "double-conversion",
diff --git a/flake.nix b/flake.nix
index 203eec90..c06cd978 100644
--- a/flake.nix
+++ b/flake.nix
@@ -16,6 +16,10 @@
       url = "github:parsonsmatt/cborg/05ca2063ff631667699bffbeee3a4a076943b905";
       flake = false;
     };
+    compactable = {
+      url = "gitlab:fresheyeball/Compactable/master";
+      flake = false;
+    };
     cryptohash-sha1 = {
       url = "github:haskell-hvr/cryptohash-sha1";
       flake = false;
diff --git a/overlay.nix b/overlay.nix
index b9cb42dd..205501cd 100644
--- a/overlay.nix
+++ b/overlay.nix
@@ -69,6 +69,8 @@ final: prev: with pkgs.haskell.lib; {
 
   comonad = prev.callHackage "comonad" "5.0.8" { };
 
+  compactable = doJailbreak (dontCheck (prev.callCabal2nix "compactable" inputs.compactable { }));
+
   compact = doJailbreak (prev.callHackage "compact" "0.2.0.0" { });
 
   composite-cassava = doJailbreak (prev.callHackage "composite-cassava" "0.0.3.1" { });
-- 
GitLab