diff --git a/overlay.nix b/overlay.nix
index bc833e4c0901e0ba4134589e15b0645676179739..72b9645d1c41077fa532463ad986326e99271814 100644
--- a/overlay.nix
+++ b/overlay.nix
@@ -265,7 +265,7 @@ final: prev: with pkgs.haskell.lib; {
 
   retry = dontCheck (prev.callHackage "retry" "0.9.3.0" { });
 
-  scotty = prev.callHackage "scotty" "0.12" { };
+  scotty = doJailbreak (prev.callHackage "scotty" "0.12" { });
 
   scientific = prev.callHackage "scientific" "0.3.7.0" { };