Commit 23328d1c authored by Vincent Laporte's avatar Vincent Laporte Committed by Vincent Laporte
Browse files

ocamlPackages.janeStreet_0_15: remove

parent c0b96fce
Loading
Loading
Loading
Loading
+0 −74
Original line number Diff line number Diff line
@@ -918,80 +918,6 @@ let
            import ../development/ocaml-modules/janestreet {
            };

        janeStreet_0_15 =
          (lib.makeScope self.newScope (
            self': with self'; {

              # ocamlPackages that janestreet v0.15 packages depend on.
              jsDeps =
                let
                  uri-sexp = self.uri-sexp.override { inherit (self') ppx_sexp_conv sexplib0; };
                  cohttp = self.cohttp.override {
                    inherit (self') ppx_sexp_conv;
                    inherit uri-sexp;
                  };
                  ipaddr-sexp = self.ipaddr-sexp.override { inherit (self') ppx_sexp_conv; };
                  conduit = self.conduit.override {
                    inherit (self') ppx_sexp_conv sexplib;
                    inherit ipaddr-sexp;
                  };
                  conduit-async = self.conduit-async.override {
                    inherit (self')
                      async
                      ppx_sexp_conv
                      ppx_here
                      core
                      sexplib
                      async_ssl
                      ;
                    inherit conduit ipaddr-sexp;
                  };
                in
                {
                  inherit (self)
                    dune-configurator
                    alcotest
                    re
                    num
                    octavius
                    uutf
                    ounit
                    ctypes
                    ctypes-foreign
                    ;
                  ppxlib = self.ppxlib.override { inherit (self') stdio; };
                  cohttp-async = self.cohttp-async.override {
                    inherit (self')
                      ppx_sexp_conv
                      base
                      async
                      async_kernel
                      async_unix
                      core_unix
                      sexplib0
                      core
                      ;
                    inherit uri-sexp cohttp conduit-async;
                  };
                  janePackage = callPackage ../development/ocaml-modules/janestreet/janePackage_0_15.nix { };
                };

              janeStreet = import ../development/ocaml-modules/janestreet/0.15.nix {
                self = self' // jsDeps;
                inherit ocaml;
                inherit (pkgs)
                  bash
                  fetchpatch
                  fzf
                  lib
                  openssl
                  zstd
                  ;
              };
            }
          )).overrideScope
            liftJaneStreet;

        javalib = callPackage ../development/ocaml-modules/javalib { };

        jingoo = callPackage ../development/ocaml-modules/jingoo { };