On Windows 10 with WSL2 (Ubuntu)

I go to plutus-apps, then run nix-shell, there after I run build-and-serve-docs from within nix-shell

See image for errors..

After build I can access a documentation link but there's no haddock documentation.

I did have a space issue yesterday that prevented some file from being written, is there maybe a way to "clear cache" and rebuild docs ..

Is there maybe another way I can build the haddock docs, or can I access the docs elsewhere?



  • Are you on the right revision for week 1? You can check with git rev-parse HEAD. It should be 4114...5c8a
    – Avatar33
    Jan 18, 2022 at 7:59
  • Yes thanks - checked that - am on commit 41149926c108c71831cfe8d244c83b0ee4bf5c8a
    – HeikoR
    Jan 18, 2022 at 8:03
  • This sounds like corruption due to running out of disk space to me. Can you run nix-collect-garbage -d, re-enter the nix-shell and run that command again? Jan 18, 2022 at 14:36

1 Answer 1


Bro, it happened to me just now.

It was because I was in the wrong directory you have to call this from the plutus-apps root directory:

You said you are already at this directory but could you please double check?

This is correct:

[nix-shell:/mnt/c/me/Dev/plutus/plutus-apps]$ build-and-serve-docs


[nix-shell:/mnt/c/me/Dev/plutus]$ build-and-serve-docs

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.