ocamlPackages.camlp4: fix evaluation for OCaml ≥ 4.09
This commit is contained in:
parent
74ad305f65
commit
0361ae2230
@ -1,5 +1,9 @@
|
||||
{ stdenv, fetchzip, which, ocaml, ocamlbuild }:
|
||||
|
||||
if stdenv.lib.versionAtLeast ocaml.version "4.09"
|
||||
then throw "camlp4 is not available for OCaml ${ocaml.version}"
|
||||
else
|
||||
|
||||
let param = {
|
||||
"4.02" = {
|
||||
version = "4.02+6";
|
||||
|
Loading…
Reference in New Issue
Block a user