diff --git a/flake.lock b/flake.lock
index 3a75d1efecc74824a8e0b83cae95d2d30217ed29..534ea5009738d277b1c4b16b52d3258daece575e 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 203eec901d30f1eeac2e5fb32b72be71f2d2ca7c..c06cd978e1c8420584a4a1063814d2f6bce27de5 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 b9cb42dd0655e1a9481d5f3e54fba0838baf1018..205501cdbba667258917ae84587a93eaa3bc75ed 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" { });