diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 502a9439f..5c87d0a0f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -26,9 +26,12 @@ Clone the IHP repository into the project directory. The `IHP` directory is adde ``` git clone git@github.com:digitallyinduced/ihp.git IHP -# only needs to be run once (do not run inside the IHP directory) -make -B build/ihp-lib +# Enable direnv +cd IHP direnv allow +# Go back to the project root (do not run inside the IHP directory) +cd - +make -B build/ihp-lib ``` Uncomment the `configureFlags = [ "--flag FastBuild" ];` and `doHaddock = false;` lines in the `IHP/ihp.nix` for fast rebuilds, otherwise you could up waiting up to half an hour while IHP builds itself.