ocaml-mode: fix build for OCaml >= 4.02
This commit is contained in:
parent
fb09fca7b7
commit
34c59894a6
|
@ -11,7 +11,8 @@ in stdenv.mkDerivation {
|
|||
# a quick configure to get the Makefile generated. Since
|
||||
# we do not build the ocaml itself, we don't really
|
||||
# need it to support any features.
|
||||
configureFlags = [ "-no-tk" "-no-curses" "-no-pthread" ];
|
||||
configureFlags = (with stdenv.lib; optional (!(versionAtLeast version "4.02")) "-no-tk") ++
|
||||
[ "-no-curses" "-no-pthread" ];
|
||||
|
||||
buildInputs = [ emacs ];
|
||||
dontBuild = true;
|
||||
|
|
Loading…
Reference in New Issue