From c3bf65df673ad1bd7141b87af6d528bf5d027266 Mon Sep 17 00:00:00 2001 From: zainab-ali Date: Sun, 19 Feb 2023 16:42:53 +0000 Subject: [PATCH] ocaml: remove spaceTimeSupport after 4.12 Spacetime support was removed in OCaml version 4.12. See the OCaml release notes: https://ocaml.org/releases/4.12.0. See the pull request to OCaml: ocaml/ocaml#9948. --- pkgs/development/compilers/ocaml/generic.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/compilers/ocaml/generic.nix b/pkgs/development/compilers/ocaml/generic.nix index 1fa52721ddb9..c2cc7bb40b5f 100644 --- a/pkgs/development/compilers/ocaml/generic.nix +++ b/pkgs/development/compilers/ocaml/generic.nix @@ -17,7 +17,7 @@ in assert useX11 -> safeX11 stdenv; assert aflSupport -> lib.versionAtLeast version "4.05"; assert flambdaSupport -> lib.versionAtLeast version "4.03"; -assert spaceTimeSupport -> lib.versionAtLeast version "4.04"; +assert spaceTimeSupport -> lib.versionAtLeast version "4.04" && lib.versionOlder version "4.12"; assert unsafeStringSupport -> lib.versionAtLeast version "4.06" && lib.versionOlder version "5.0"; let