Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

ocamlPackages.labltk: fix evaluation with OCaml < 4.04

authored by

Vincent Laporte and committed by
Vincent Laporte
b5f580fa 5e786ded

+4
+4
pkgs/development/ocaml-modules/labltk/default.nix
··· 1 1 { stdenv, fetchurl, ocaml, findlib, tcl, tk }: 2 2 3 + if !stdenv.lib.versionAtLeast ocaml.version "4.04" 4 + then throw "labltk is not available for OCaml ${ocaml.version}" 5 + else 6 + 3 7 let param = { 4 8 "4.04" = { 5 9 version = "8.06.2";