From dceb7884f52ee9223d7d6013b7356055ef6f4a9b Mon Sep 17 00:00:00 2001 From: urlordjames <32751441+urlordjames@users.noreply.github.com> Date: Tue, 22 Jun 2021 20:53:31 -0400 Subject: [PATCH] document options for Nix package --- ENG-02-Installation.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/ENG-02-Installation.md b/ENG-02-Installation.md index 18f041e..500bebf 100644 --- a/ENG-02-Installation.md +++ b/ENG-02-Installation.md @@ -303,6 +303,25 @@ pkgs.mkShell { Enter the shell by running `nix-shell`. This will install Drogon and enter you into an environment with all its dependancies. +The Nix package has a few options which you can configure according to your needs: + +| option | default value | +| --- | --- | +| sqliteSupport | true | +| postgresSupport | false | +| redisSupport | false | +| mysqlSupport | false | + +Here is an example of how you can change their values: + +``` + buildInputs = with pkgs; [ + (drogon.override { + sqliteSupport = false; + }) + ]; +``` + __if you haven't installed Nix:__ You can follow the instructions on the [NixOS website](https://nixos.org/download.html). # 03 [Quick Start](ENG-03-Quick-Start)