From 5ed94ff15df02135f783de15d934b564c4d497a1 Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone <exarkun@twistedmatrix.com> Date: Wed, 30 Oct 2019 11:28:46 -0400 Subject: [PATCH] Perhaps these are the necessary flags. --- .circleci/config.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e54c376..2df8fb1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -162,7 +162,14 @@ jobs: - run: name: "Prepare Artifacts for Upload" command: | - mv $(nix-shell shell.nix --run "stack path --local-doc-root")/PaymentServer-* /tmp/PaymentServer-docs + # The flags passed to `stack path` need to pretty closely match + # those passed to `stack build` or the path comes out wrong. + # + PATH="stack path \ + --haddock \ + --haddock-internal \ + --no-haddock-deps" + mv $(nix-shell shell.nix --run "$PATH")/PaymentServer-* /tmp/PaymentServer-docs - store_artifacts: # This contains the html haddock output for the project. -- GitLab