ocamlPackages.landmarks-ppx: unbreak (#500312)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{
|
||||
lib,
|
||||
buildDunePackage,
|
||||
fetchpatch,
|
||||
ocaml,
|
||||
landmarks,
|
||||
ppxlib,
|
||||
@@ -11,6 +12,11 @@ buildDunePackage {
|
||||
|
||||
inherit (landmarks) src version;
|
||||
|
||||
patches = lib.optional (lib.versionAtLeast ppxlib.version "0.36") (fetchpatch {
|
||||
url = "https://github.com/LexiFi/landmarks/commit/367c229e3275a83f81343ba116374bb68abc9d83.patch";
|
||||
hash = "sha256-Qxue+++sNV6EHJGX1mbIeY2E2D5NuFpmIIBkTyvGvo8=";
|
||||
});
|
||||
|
||||
buildInputs = [ ppxlib ];
|
||||
propagatedBuildInputs = [ landmarks ];
|
||||
|
||||
@@ -22,6 +28,5 @@ buildDunePackage {
|
||||
Automatically or semi-automatically instrument your code using
|
||||
landmarks library.
|
||||
'';
|
||||
broken = lib.versionAtLeast ppxlib.version "0.36";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user