1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

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