Build

We support two ways of building Lamb, if you have installed nix on your machine, we suggest the first option.

Option 1: Via Nix

nix build --no-link

Refer to this guide in case you got error messages requesting enable the experimental features of Nix.

To enter a bash shell that provides an interactive build environment with all dependencies loaded, type:

nix develop

Option 2: Via Docker

First, build a Docker image with Nix inside:

docker build . -t lamb:0.1.0

Then, start a container using that image, so that you will be dropped into the Nix development shell:

docker run -it lamb:0.1.0

You should notice that the shell prompt now ends with [lamb-dev]>.