diff options
| author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2021-11-30 10:21:48 +0100 |
|---|---|---|
| committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2021-12-07 17:21:40 +0100 |
| commit | eeb2e86fd069a1810a77d13fa6de0fa52da29733 (patch) | |
| tree | bf1aba01eaa77c8fcba52c8d92f2489cc2ea48a2 | |
| parent | pkgs/development/ocaml-modules/janestreet/: remove dead code (diff) | |
| download | nixpkgs-eeb2e86fd069a1810a77d13fa6de0fa52da29733.tar.gz | |
ocamlPackages.buildOcamlJane: remove
(cherry picked from commit 0a5d36c801278faa09acad4c3aa47c87f1a8eeeb)
| -rw-r--r-- | pkgs/development/ocaml-modules/janestreet/buildOcamlJane.nix | 35 | ||||
| -rw-r--r-- | pkgs/top-level/ocaml-packages.nix | 2 |
2 files changed, 0 insertions, 37 deletions
diff --git a/pkgs/development/ocaml-modules/janestreet/buildOcamlJane.nix b/pkgs/development/ocaml-modules/janestreet/buildOcamlJane.nix deleted file mode 100644 index 13fcdff39239..000000000000 --- a/pkgs/development/ocaml-modules/janestreet/buildOcamlJane.nix +++ /dev/null @@ -1,35 +0,0 @@ -{ buildOcaml, opaline, js_build_tools, ocaml_oasis, fetchurl } : - -{ pname, version ? "113.33.03", buildInputs ? [], - hash ? "", - minimumSupportedOcamlVersion ? "4.02", ... -}@args: - -buildOcaml (args // { - inherit pname version minimumSupportedOcamlVersion; - src = fetchurl { - url = "https://github.com/janestreet/${pname}/archive/${version}.tar.gz"; - sha256 = hash; - }; - - hasSharedObjects = true; - - buildInputs = [ ocaml_oasis js_build_tools opaline ] ++ buildInputs; - - dontAddPrefix = true; - dontAddStaticConfigureFlags = true; - configurePlatforms = []; - - configurePhase = '' - ./configure --prefix $out - ''; - - buildPhase = '' - OCAML_TOPLEVEL_PATH=`ocamlfind query findlib`/.. make - ''; - - installPhase = '' - opaline -prefix $prefix -libdir $OCAMLFIND_DESTDIR ${pname}.install - ''; - -}) diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index 4942a5b50596..2cff6972fd7f 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -1477,8 +1477,6 @@ let js_build_tools = callPackage ../development/ocaml-modules/janestreet/js-build-tools.nix {}; - buildOcamlJane = callPackage ../development/ocaml-modules/janestreet/buildOcamlJane.nix {}; - # Apps / from all-packages ocamlnat = callPackage ../development/ocaml-modules/ocamlnat { }; |
