From 8f97ad7b3c7643b3845e61d7792013aa9b8ada3d Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 31 Oct 2015 09:33:05 -0700 Subject: [PATCH] coqPackages.ssreflect: add ncurses as a dependency This is needed in the Darwin pure environment, where ncurses is not available within the sandbox. The exact error was: coqmktop -coqlib `coqtop -where` -o bin/ssrcoq.byte -I +threads src/ssrmatching.cmo src/ssreflect.cmo ld: warning: directory not found for option '-L/nix/store/wlf8pb7gz5alzbhdxwayxx0x4as3rnw8-coq-8.5b2/lib/coq/kernel/byterun' ld: library not found for -lncurses --- pkgs/development/coq-modules/ssreflect/generic.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/coq-modules/ssreflect/generic.nix b/pkgs/development/coq-modules/ssreflect/generic.nix index e208f1cc25a..3bfccab0be7 100644 --- a/pkgs/development/coq-modules/ssreflect/generic.nix +++ b/pkgs/development/coq-modules/ssreflect/generic.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, coq +{ stdenv, fetchurl, coq, ncurses , graphviz, withDoc ? true , src, patches ? [] }: @@ -10,7 +10,7 @@ stdenv.mkDerivation { inherit src; nativeBuildInputs = stdenv.lib.optionals withDoc [ graphviz ]; - buildInputs = [ coq.ocaml coq.camlp5 ]; + buildInputs = [ coq.ocaml coq.camlp5 ncurses ]; propagatedBuildInputs = [ coq ]; enableParallelBuilding = true;