diff options
Diffstat (limited to 'nixpkgs/pkgs/development/ocaml-modules/stdint/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/ocaml-modules/stdint/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixpkgs/pkgs/development/ocaml-modules/stdint/default.nix b/nixpkgs/pkgs/development/ocaml-modules/stdint/default.nix index 52d97e12998f..2a4bf2bb6335 100644 --- a/nixpkgs/pkgs/development/ocaml-modules/stdint/default.nix +++ b/nixpkgs/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 = { |