build.sh: add disclamer for options

M  build.sh
This commit is contained in:
Anton-Latukha 2020-06-17 15:51:48 +03:00
parent de057de8e1
commit 701600a19e
No known key found for this signature in database
GPG Key ID: 3D84C07E91802E41
1 changed files with 4 additions and 0 deletions

View File

@ -12,6 +12,10 @@ NIX_PATH=${NIX_PATH:-"nixpkgs=https://github.com/nixos/nixpkgs/archive/$rev.tar.
export NIX_PATH
pkgName=${pkgName:-'defaultPkgName'}
# This settings expose most of the Nixpkgs Haskell.lib API: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/haskell-modules/lib.nix
# Some of these options implicitly enable other options they require, and some counterpoint options clash, obviously
# Don't fail at configure time if there are multiple versions of the same package in the (recursive) dependencies of the package being built. Will delay failures, if any, to compile time.
allowInconsistentDependencies=${allowInconsistentDependencies:-'false'}