diff options
| author | Vincent Laporte | 2017-12-05 13:14:17 +0000 |
|---|---|---|
| committer | Vincent Laporte | 2017-12-05 13:14:17 +0000 |
| commit | 1acd714b2b0253aae05af534f3c7f7c0e726617a (patch) | |
| tree | 260ed23a54a2b05311265b0072b87b7050899ad3 | |
| parent | 359119ff1389d489454d2d55fc5d23e9e71c2daf (diff) | |
[default.nix] explain ncurses dependency
| -rw-r--r-- | default.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/default.nix b/default.nix index 6d50fb4d9c..f78785a1f4 100644 --- a/default.nix +++ b/default.nix @@ -42,10 +42,13 @@ stdenv.mkDerivation rec { # CoqIDE dependencies ocamlPackages.lablgtk - ] else []) ++ (if doCheck then [ + ] else []) ++ (if doCheck then # Test-suite dependencies - ncurses + let inherit (stdenv.lib) versionAtLeast optional; in + /* ncurses is required to build an OCaml REPL */ + optional (!versionAtLeast ocaml.version "4.07") ncurses + ++ [ python rsync which |
