ocamlPackages.labltk: fix evaluation with OCaml < 4.04
This commit is contained in:
parent
5e786dedc1
commit
b5f580fa2e
@ -1,5 +1,9 @@
|
|||||||
{ stdenv, fetchurl, ocaml, findlib, tcl, tk }:
|
{ 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 = {
|
let param = {
|
||||||
"4.04" = {
|
"4.04" = {
|
||||||
version = "8.06.2";
|
version = "8.06.2";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user