ocamlPackages.lambdapi: compatibility with cmdliner 2 (#494614)

This commit is contained in:
Vincent Laporte
2026-03-02 16:04:21 +00:00
committed by GitHub
2 changed files with 9 additions and 1 deletions
@@ -1,6 +1,7 @@
{
lib,
fetchurl,
fetchpatch,
buildDunePackage,
alcotest,
dedukti,
@@ -28,6 +29,14 @@ buildDunePackage rec {
hash = "sha256-EGau0mGP2OakAMUUfb9V6pd86NP+LlGKxnhcZ3WhuL4=";
};
patches = [
# Compatibility with cmdliner ≥ 2
(fetchpatch {
url = "https://github.com/Deducteam/lambdapi/commit/8e27c0f668915fbd49e32bdac246d6d515a64dd0.patch";
hash = "sha256-9CkvH1o81T9LP+IPogKGhoiIDP76/nRfq59ttU7r0fI=";
})
];
nativeBuildInputs = [
dream
menhir
-1
View File
@@ -1064,7 +1064,6 @@ let
lambda-term = callPackage ../development/ocaml-modules/lambda-term { };
lambdapi = callPackage ../development/ocaml-modules/lambdapi {
cmdliner = cmdliner_1;
why3 = pkgs.why3.override { ocamlPackages = self; };
};