Commit 3120b13f authored by Vaibhav Sagar's avatar Vaibhav Sagar

Add nix-build example to README

parent 81a70212
...@@ -65,6 +65,19 @@ stack exec ihaskell -- install --stack ...@@ -65,6 +65,19 @@ stack exec ihaskell -- install --stack
stack exec jupyter -- notebook stack exec jupyter -- notebook
``` ```
# Nix
If you have the `nix` package manager installed, you can create an IHaskell
notebook environment with one command. For example:
```bash
$ nix-build release.nix --arg packages "haskellPackages: [ haskellPackages.lens ]"
<result path>
$ <result path>/bin/ihaskell-notebook
```
It might take a while the first time, but subsequent builds will be much faster.
## Where are my packages? ## Where are my packages?
Stack manages separate environments for every package. By default your notebooks Stack manages separate environments for every package. By default your notebooks
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment