Skip to content

Commit 0159347

Browse files
committed
ocamlPackages: remove broken packages
Remove ocaml-freestanding and torch packages which have been marked broken since NixOS 24.05 and remain unfixed. - ocaml-freestanding: Not compatible with solo5 >= 0.7 - torch: Not compatible with libtorch >= 2.3.0 Per RFC 180, packages broken for a full release cycle are subject to removal. NixOS/rfcs#180
1 parent 1590e21 commit 0159347

5 files changed

Lines changed: 2 additions & 265 deletions

File tree

pkgs/development/ocaml-modules/ocaml-freestanding/configurable-binding.patch

Lines changed: 0 additions & 49 deletions
This file was deleted.

pkgs/development/ocaml-modules/ocaml-freestanding/default.nix

Lines changed: 0 additions & 93 deletions
This file was deleted.

pkgs/development/ocaml-modules/ocaml-freestanding/no-opam.patch

Lines changed: 0 additions & 47 deletions
This file was deleted.

pkgs/development/ocaml-modules/torch/default.nix

Lines changed: 0 additions & 70 deletions
This file was deleted.

pkgs/top-level/ocaml-packages.nix

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1439,8 +1439,6 @@ let
14391439

14401440
ocaml_expat = callPackage ../development/ocaml-modules/expat { };
14411441

1442-
ocaml-freestanding = callPackage ../development/ocaml-modules/ocaml-freestanding { };
1443-
14441442
ocaml_gettext = callPackage ../development/ocaml-modules/ocaml-gettext { };
14451443

14461444
ocaml_libvirt = callPackage ../development/ocaml-modules/ocaml-libvirt { };
@@ -2113,10 +2111,6 @@ let
21132111

21142112
topkg = callPackage ../development/ocaml-modules/topkg { };
21152113

2116-
torch = callPackage ../development/ocaml-modules/torch {
2117-
torch = pkgs.libtorch-bin;
2118-
};
2119-
21202114
trace = callPackage ../development/ocaml-modules/trace { };
21212115

21222116
trace-tef = callPackage ../development/ocaml-modules/trace/tef.nix { };
@@ -2320,8 +2314,10 @@ let
23202314
dune_2 = pkgs.dune_2; # Added 2025-12-08
23212315
dune_3 = pkgs.dune_3; # Added 2025-12-08
23222316
gd4o = throw "ocamlPackages.gd4o is not maintained, use ocamlPackages.gd instead";
2317+
ocaml-freestanding = throw "ocamlPackages.ocaml-freestanding has been removed due to being broken for more than a year; see RFC 180"; # Added 2026-02-05
23232318
ocaml-vdom = throw "2023-10-09: ocamlPackages.ocaml-vdom was renamed to ocamlPackages.vdom";
23242319
ocaml_lwt = throw "ocamlPackages.ocaml_lwt has been renamed to ocamlPackages.lwt"; # Added 2025-12-05
2320+
torch = throw "ocamlPackages.torch has been removed due to being broken for more than a year; see RFC 180"; # Added 2026-02-05
23252321
}
23262322
)).overrideScope
23272323
liftJaneStreet;

0 commit comments

Comments
 (0)