diff options
Diffstat (limited to 'default.nix')
| -rw-r--r-- | default.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/default.nix b/default.nix index b527d5fd5d..b9b7ff32d2 100644 --- a/default.nix +++ b/default.nix @@ -29,6 +29,7 @@ }: with pkgs; +with stdenv.lib; stdenv.mkDerivation rec { @@ -58,8 +59,7 @@ stdenv.mkDerivation rec { ] else []) ++ (if doCheck then # Test-suite dependencies - let inherit (stdenv.lib) versionAtLeast optional; in - /* ncurses is required to build an OCaml REPL */ + # ncurses is required to build an OCaml REPL optional (!versionAtLeast ocaml.version "4.07") ncurses ++ [ python @@ -87,6 +87,10 @@ stdenv.mkDerivation rec { prefixKey = "-prefix "; + buildFlags = [ "world" ] ++ optional buildDoc "doc-html"; + + installTargets = [ "install" ] ++ optional buildDoc "install-doc-html"; + inherit doCheck; } |
