diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2021-09-20 18:14:35 +0200 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2021-09-27 05:59:07 +0200 |
commit | 09f33fd8aa06f5b5522cb50b309ee548fc3df4fe (patch) | |
tree | c4394a19e0b3e742b8f53004aef804f85567ebd8 /pkgs/development/ocaml-modules/stdint | |
parent | 049ca38a0c84f7c41467b006712340fd52f00043 (diff) | |
download | nixpkgs-09f33fd8aa06f5b5522cb50b309ee548fc3df4fe.tar nixpkgs-09f33fd8aa06f5b5522cb50b309ee548fc3df4fe.tar.gz nixpkgs-09f33fd8aa06f5b5522cb50b309ee548fc3df4fe.tar.bz2 nixpkgs-09f33fd8aa06f5b5522cb50b309ee548fc3df4fe.tar.lz nixpkgs-09f33fd8aa06f5b5522cb50b309ee548fc3df4fe.tar.xz nixpkgs-09f33fd8aa06f5b5522cb50b309ee548fc3df4fe.tar.zst nixpkgs-09f33fd8aa06f5b5522cb50b309ee548fc3df4fe.zip |
ocamlPackages.stdint: disable tests with OCaml < 4.08
Diffstat (limited to 'pkgs/development/ocaml-modules/stdint')
-rw-r--r-- | pkgs/development/ocaml-modules/stdint/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/ocaml-modules/stdint/default.nix b/pkgs/development/ocaml-modules/stdint/default.nix index 52d97e12998..2a4bf2bb633 100644 --- a/pkgs/development/ocaml-modules/stdint/default.nix +++ b/pkgs/development/ocaml-modules/stdint/default.nix @@ -1,4 +1,4 @@ -{ lib, fetchurl, fetchpatch, buildDunePackage, qcheck }: +{ lib, fetchurl, fetchpatch, buildDunePackage, ocaml, qcheck }: buildDunePackage rec { pname = "stdint"; @@ -35,7 +35,7 @@ buildDunePackage rec { 'let pos_int = QCheck.int_range 0 maxi' ''; - doCheck = true; + doCheck = lib.versionAtLeast ocaml.version "4.08"; checkInputs = [ qcheck ]; meta = { |