ocamlPackages.labltk: fix evaluation with OCaml < 4.04

wip/yesman
Vincent Laporte 6 years ago committed by Vincent Laporte
parent 5e786dedc1
commit b5f580fa2e
  1. 4
      pkgs/development/ocaml-modules/labltk/default.nix

@ -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";

Loading…
Cancel
Save