ocamlPackages.lwt: remove unnecessary dependency on OMP

This commit is contained in:
Vincent Laporte 2021-07-17 13:56:24 +02:00 committed by Vincent Laporte
parent e1c735229e
commit 629e644af2
2 changed files with 3 additions and 5 deletions

View file

@ -1,5 +1,5 @@
{ lib, fetchzip, pkg-config, ncurses, libev, buildDunePackage, ocaml { lib, fetchzip, pkg-config, ncurses, libev, buildDunePackage, ocaml
, cppo, dune-configurator, ocaml-migrate-parsetree, ocplib-endian, result , cppo, dune-configurator, ocplib-endian, result
, mmap, seq , mmap, seq
, ocaml-syntax-shims , ocaml-syntax-shims
}: }:
@ -18,7 +18,7 @@ buildDunePackage rec {
}; };
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];
buildInputs = [ cppo dune-configurator ocaml-migrate-parsetree ] buildInputs = [ cppo dune-configurator ]
++ optional (!versionAtLeast ocaml.version "4.08") ocaml-syntax-shims ++ optional (!versionAtLeast ocaml.version "4.08") ocaml-syntax-shims
++ optional (!versionAtLeast ocaml.version "4.07") ncurses; ++ optional (!versionAtLeast ocaml.version "4.07") ncurses;
propagatedBuildInputs = [ libev mmap ocplib-endian seq result ]; propagatedBuildInputs = [ libev mmap ocplib-endian seq result ];

View file

@ -623,9 +623,7 @@ let
inherit (pkgs) file; inherit (pkgs) file;
}; };
lwt = callPackage ../development/ocaml-modules/lwt { lwt = callPackage ../development/ocaml-modules/lwt { };
ocaml-migrate-parsetree = ocaml-migrate-parsetree-2;
};
lwt-canceler = callPackage ../development/ocaml-modules/lwt-canceler { }; lwt-canceler = callPackage ../development/ocaml-modules/lwt-canceler { };