mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
ocaml-cstruct: assert minimal OCaml version (4.01)
This commit is contained in:
parent
2c9f03ff81
commit
e361e700e1
@ -1,9 +1,7 @@
|
||||
{stdenv, writeText, fetchurl, ocaml, ocplib-endian, sexplib, findlib,
|
||||
async ? null, lwt ? null, camlp4}:
|
||||
|
||||
let
|
||||
ocaml_version = (builtins.parseDrvName ocaml.name).version;
|
||||
in
|
||||
assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "4.01";
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ocaml-cstruct-1.6.0";
|
||||
|
Loading…
Reference in New Issue
Block a user