ocamlPackages.labltk: fix evaluation with OCaml < 4.04

This commit is contained in:
Vincent Laporte 2018-12-10 19:59:50 +00:00 committed by Vincent Laporte
parent 5e786dedc1
commit b5f580fa2e

View File

@ -1,5 +1,9 @@
{ stdenv, fetchurl, ocaml, findlib, tcl, tk }:
if !stdenv.lib.versionAtLeast ocaml.version "4.04"
then throw "labltk is not available for OCaml ${ocaml.version}"
else
let param = {
"4.04" = {
version = "8.06.2";