ocamlPackages: Update dependencies for Coccinelle#197184
Conversation
https://github.com/thierry-martinez/pyml/releases/tag/20220905 Aldo switch to dune, which has been available since 2021-09-24. And remove unneeded dependencies: - ncurses was needed for Python in the past - ocaml and findlib are implied by dune
|
Looks like the dune build system does not install top-levels. Not sure if those are necessary. |
|
I tried to fix that but got stuck. From the warning in https://github.com/thierry-martinez/pyml/pull/87, it looks like that |
|
The following includes the --- a/pkgs/development/tools/ocaml/utop/default.nix
+++ b/pkgs/development/tools/ocaml/utop/default.nix
@@ -57,6 +57,10 @@ buildDunePackage rec {
done
'';
+ postPatch = ''
+ sed -Ei '/modes byte/d' src/lib/dune
+ '';
+
meta = {
description = "Universal toplevel for OCaml";
longDescription = ''but pymlutop still fails to build: |
|
What’s the status of this? The first commit looks good and could be merged (it makes |
|
Unless there is need for toplevels (I am still not completely sure what they are for), it should be okay to merge as is. |
|
Thanks. |
|
Successfully created backport PR #205912 for |
|
Git push to origin failed for release-22.11 with exitcode 1 |
Description of changes
Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)nixos/doc/manual/md-to-db.shto update generated release notes