Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,15 @@ You can also run any `haskellings` command from the project directory using `sta
Instead of running stack manually, you can use a nix shell to install the dependencies for you.
To do this, [install Nix](https://nixos.org/guides/install-nix.html).

Then, when in the project's root directory, runn `nix-shell`.
Then, when in the project's root directory, run `stack build`. This is necessary to generate `haskellings.cabal` from `package.yaml` (`hpack` will also work). Then you can run `nix-shell`.

After the build process, you should see a bash prompt like this:

``` shell
[nix-shell:~]$
```

This shell provides you with an environment that has GHC 8.8.4 and the `haskellings` binary installed and available in your `$PATH` - so you can run `haskellings` and get started!
This shell provides you with an environment that has GHC 8.10.4 and the `haskellings` binary installed and available in your `$PATH` - so you can run `haskellings` and get started!

These dependencies are only available within the `nix-shell`, so don't worry about contaminating your global system with conflicting installations.

Expand Down