diff --git a/.circleci/config.yml b/.circleci/config.yml
index a99995670796d9e88945bc02ccdb23922af05549..19647282b4687c9b5fddbcfce8c9194fa96b2e89 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -165,12 +165,11 @@ jobs:
             # The flags passed to `stack path` need to pretty closely match
             # those passed to `stack build` or the path comes out wrong.
             # https://github.com/commercialhaskell/stack/issues/4892
-            set -x
             GETPATH="stack path \
               --haddock \
               --haddock-internal \
-              --no-haddock-deps"
-            ls -la /tmp
+              --no-haddock-deps \
+              --local-doc-root"
 
             mv $(nix-shell shell.nix --run "$GETPATH")/PaymentServer-* /tmp/PaymentServer-docs