diff --git a/build.sh b/build.sh index 14bce9c..039c718 100755 --- a/build.sh +++ b/build.sh @@ -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'}