diff --git a/CHANGELOG b/CHANGELOG
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,10 @@
+debug-me (1.20170810) unstable; urgency=medium
+
+  * Fix build with websockets-0.10.0.0 which did not support compression.
+  * Update to lts-9.0.
+
+ -- Joey Hess <id@joeyh.name>  Thu, 10 Aug 2017 12:36:30 -0400
+
 debug-me (1.20170520) unstable; urgency=medium
 
   * debug-me is available in Debian unstable.
diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -34,7 +34,7 @@
 		$(BUILDER) build $(BUILDEROPTIONS); \
 	fi
 	if [ "$(BUILDER)" = stack ]; then \
-		ln -sf $$(find .stack-work/ -name debug-me -type f | grep build/debug-me/debug-me | tail -n 1) debug-me; \
+		ln -sf $$(stack path --dist-dir)/build/debug-me/debug-me debug-me; \
 	else \
 		ln -sf dist/build/debug-me/debug-me debug-me; \
 	fi
diff --git a/VirtualTerminal.hs b/VirtualTerminal.hs
--- a/VirtualTerminal.hs
+++ b/VirtualTerminal.hs
@@ -10,11 +10,11 @@
 import System.Process
 import System.Environment
 
--- | Finds a virtual termianl program that looks like it will work
+-- | Finds a virtual terminal program that looks like it will work
 -- to run a command with some parameters.
 --
 -- Note that the parameters are exposed to the shell by some virtual 
--- termianls, but not by others.
+-- terminals, but not by others.
 runInVirtualTerminal :: String -> String -> [String] -> IO (Maybe CreateProcess)
 runInVirtualTerminal title cmd params = do
 	path <- getSearchPath
diff --git a/WebSockets.hs b/WebSockets.hs
--- a/WebSockets.hs
+++ b/WebSockets.hs
@@ -92,7 +92,7 @@
 			WireProtocolError
 			(Data.Aeson.decode s)
 		_ -> WireProtocolError "received unknown websocket message"
-#if MIN_VERSION_websockets(0,10,0)
+#if MIN_VERSION_websockets(0,11,0)
 	fromDataMessage = fromLazyByteString . fromDataMessage
 #endif
 
@@ -118,7 +118,7 @@
 
 connectionOptions :: ConnectionOptions
 connectionOptions = defaultConnectionOptions
-#if MIN_VERSION_websockets(0,10,0)
+#if MIN_VERSION_websockets(0,11,0)
 	-- Enable compression.
 	{ connectionCompressionOptions =
 		PermessageDeflateCompression defaultPermessageDeflate
diff --git a/debug-me.1 b/debug-me.1
--- a/debug-me.1
+++ b/debug-me.1
@@ -104,7 +104,7 @@
 .IP "~/.debug-me/log/remote/"
 When using debug-me to connect to a remote session, the session will be
 logged to here.
-.UP "/usr/share/debug-me/keyring/*.gpg"
+.IP "/usr/share/debug-me/keyring/*.gpg"
 When verifying a developer's gpg key, debug-me checks if it's listed in 
 the keyrings in this directory, which can be provided by software installed
 on the computer.
diff --git a/debug-me.cabal b/debug-me.cabal
--- a/debug-me.cabal
+++ b/debug-me.cabal
@@ -1,5 +1,5 @@
 Name: debug-me
-Version: 1.20170510
+Version: 1.20170810
 Cabal-Version: >= 1.8
 Maintainer: Joey Hess <joey@kitenet.net>
 Author: Joey Hess
@@ -60,7 +60,7 @@
     , stm-chans (>= 3.0)
     , posix-pty (>= 0.2.1)
     , terminal-size (>= 0.3)
-    , aeson (>= 0.11 && < 1.1)
+    , aeson (>= 0.11 && < 1.3)
     , sandi (>= 0.4)
     , text (>= 1.2.2)
     , optparse-applicative (>= 0.12)
